in harry-core/src/harry/model/sut/injvm/MixedVersionInJvmSut.java [48:73]
public void afterSchemaInit()
{
for (int i = 1; i <= cluster.size(); i++)
{
Versions.Version v = versions.get(i - 1);
if (!v.equals(initialVersion))
{
logger.info("Upgrading {} node from {} to {}", i, initialVersion, v);
IUpgradeableInstance instance = cluster.get(i);
try
{
instance.shutdown().get();
}
catch (Throwable e)
{
throw new RuntimeException(e);
}
instance.setVersion(v);
instance.startup();
}
else
{
logger.info("Skipping {} node upgrade, since it is already at the required version ({})", i, initialVersion);
}
}
}