public void TestFixtureTearDown() { using (var bucket = _cluster.OpenBucket()) { bucket.Remove(TestKeys.KeyWithInt32Value.Key); } _cluster.Dispose(); }
public void TestTearDown() { _cluster.Dispose(); _cluster = null; _mreConfig.Dispose(); _mreConfig = null; }
public void When_Disposing_StreamingProvider_Worker_Thread_Does_Not_Hang_No_Buckets_Open() { //remove CCCP provider because we want to bootstrap off of the StreamingProvider var cccp = _clusterManager.ConfigProviders.Find(x => x is CarrierPublicationProvider); _clusterManager.ConfigProviders.Remove(cccp); var cluster = new CouchbaseCluster(_clientConfig, _clusterManager); cluster.Dispose(); }
public void When_Disposing_StreamingProvider_Worker_Thread_Does_Not_Hang_No_Buckets_Open() { //remove CCCP provider because we want to bootstrap off of the StreamingProvider var cccp = _clusterManager.ConfigProviders.Find(x => x is CarrierPublicationProvider); _clusterManager.ConfigProviders.Remove(cccp); var cluster = new CouchbaseCluster(_clientConfig, _clusterManager); cluster.Dispose(); }
public void TestFixtureTearDown() { _cluster.Dispose(); }
public void TearDown() { _cluster.Dispose(); }
public override void TestFixtureTearDown() { base.TestFixtureTearDown(); _cluster.Dispose(); }