public class VersionPrms extends BasePrms
VersionDescription. These can be
referenced by instances of ClientDescription as configured using
ClientPrms-versionNames.
The number of description instances is gated by names. For other
parameters, if fewer values than names are given, the remaining instances
will use the last value in the list. See $JTESTS/hydra/hydra.txt for more
details.
Unused parameters default to null, except where noted. This uses the default, except where noted.
Values and fields of a parameter can be set to BasePrms.DEFAULT,
except where noted. This uses the default, except where noted.
Values and fields of a parameter can use oneof, range, or robing except where noted, but each description created will use a fixed value chosen at test configuration time. Use as a task attribute is illegal.
| Modifier and Type | Field and Description |
|---|---|
static Long |
gemfireHome
(String(s))
GemFire home directories used by hydra client VMs configured to use this
description.
|
static Long |
names
(String(s))
Logical names of the version descriptions.
|
static String[] |
SUPPORTED_VERSIONS
Supported values for
version. |
static Long |
version
(String(s))
Version of the GemFire product used by hydra client VMs configured to use
this description.
|
static Long |
versions
(Comma-separated lists of String(s))
Versions of the GemFire product used by hydra client VMs configured to use
this description.
|
| Constructor and Description |
|---|
VersionPrms() |
public static Long names
public static Long gemfireHome
Defaults to null if version is not set, otherwise defaults to the
release for the version found in "/export/gcm/where/gemfire/releases".
The release location can be modified by passing the system property
RELEASE_DIR to BatteryTest or MasterController.
public static Long version
SUPPORTED_VERSIONS.
The version must be consistent with the corresponding value in gemfireHome. The version is used to prepend hydra conversion code and
version-specific test code in $JTESTS/../../testsClientPrms.versionNames.public static Long versions
SUPPORTED_VERSIONS.
Overrides version and ignores gemfireHome, so the version
is always the one found in /export/gcm/where/gemfireXD/releases.
Hydra starts a JVM that has a configured list of versions at the first version given. Each time the JVM is restarted, it is brought back at the next version in its list. Once the last version is reached, the JVM stays at that version for all further restarts.
This feature was put in place for tests that do rolling upgrades.
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.