public static ITestCluster CreateNew(bool enableCert) { TryRemove(); var testCluster = new CloudCluster( TestUtils.GetTestClusterNameBasedOnTime(), VersionString, enableCert); testCluster.Create(3, null); return(testCluster); }
public static void TryRemove() { try { CloudCluster.DockerKill(); } catch (Exception ex) { if (Diagnostics.CassandraTraceSwitch.Level == TraceLevel.Verbose) { Trace.TraceError("cloud test cluster could not be removed: {0}", ex); } } }