예제 #1
0
        public void TestCleanup()
        {
            if(manager != null && SiloInstanceTableTestConstants.DeleteEntriesAfterTest)
            {
                TimeSpan timeout = SiloInstanceTableTestConstants.Timeout;

                logger.Info("TestCleanup Timeout={0}", timeout);

                manager.DeleteTableEntries(deploymentId).WaitWithThrow(timeout);

                logger.Info("TestCleanup -  Finished");
                manager = null;
            }
        }
예제 #2
0
        // Use TestCleanup to run code after each test has run
        public void Dispose()
        {
            if (manager != null && SiloInstanceTableTestConstants.DeleteEntriesAfterTest)
            {
                TimeSpan timeout = SiloInstanceTableTestConstants.Timeout;

                output.WriteLine("TestCleanup Timeout={0}", timeout);

                manager.DeleteTableEntries(this.clusterId).WaitWithThrow(timeout);

                output.WriteLine("TestCleanup -  Finished");
                manager = null;
            }
        }
예제 #3
0
 public Task DeleteMembershipTableEntries(string deploymentId)
 {
     return(tableManager.DeleteTableEntries(deploymentId));
 }
예제 #4
0
 public Task DeleteMembershipTableEntries(string clusterId)
 {
     return(tableManager.DeleteTableEntries(clusterId));
 }