in harry-core/src/harry/runner/HarryRunner.java [35:72]
public void run(Configuration config) throws Throwable
{
System.setProperty("cassandra.disable_tcactive_openssl", "true");
System.setProperty("relocated.shaded.io.netty.transport.noNative", "true");
System.setProperty("org.apache.cassandra.disable_mbean_registration", "true");
Runner runner = config.createRunner();
Run run = runner.getRun();
Throwable thrown = null;
try
{
beforeRun(runner);
runner.run();
}
catch (Throwable e)
{
logger.error("Failed due to exception: " + e.getMessage(), e);
thrown = e;
}
finally
{
logger.info("Shutting down runner..");
boolean failed = thrown != null;
if (!failed)
{
logger.info("Shutting down cluster..");
tryRun(run.sut::shutdown);
}
afterRun(runner, thrown);
logger.info("Exiting...");
if (failed)
System.exit(1);
else
System.exit(0);
}
}