Example #1
0
 public void TearDownTestSuite()
 {
     // this method is executed once after all the fixtures have completed execution
     TestClusterManager.TryRemove();
     SimulacronManager.Instance.Stop();
     TestCloudClusterManager.TryRemove();
 }
 public void TestFixtureTearDown()
 {
     if (_testClusterForDseAuthTesting.IsValueCreated)
     {
         TestClusterManager.TryRemove();
     }
 }
Example #3
0
 public void TestTearDown()
 {
     _testCluster?.Dispose();
     _testCluster = null;
     TestClusterManager.TryRemove();
     _realCluster = null;
 }
 public void OnTearDown()
 {
     TestClusterManager.TryRemove();
     if (_scassandraManager != null)
     {
         _scassandraManager.Stop();
     }
 }
Example #5
0
        public void TearDown()
        {
            _testCluster?.Dispose();
            _testCluster = null;

            if (_realCluster.IsValueCreated)
            {
                TestClusterManager.TryRemove();
                _realCluster = new Lazy <ITestCluster>(
                    () => TestClusterManagement.TestClusterManager.CreateNew(2, new TestClusterOptions {
                    UseVNodes = true
                }));
            }
        }
 public void OnTearDown()
 {
     TestClusterManager.TryRemove();
 }
Example #7
0
 public void OneTimeTearDown()
 {
     _cluster.Shutdown();
     TestClusterManager.TryRemove();
 }
Example #8
0
 public void TearDownTestSuite()
 {
     // this method is executed once after all the fixtures have completed execution
     TestClusterManager.TryRemove();
 }