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; } }
// 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; } }
public Task DeleteMembershipTableEntries(string deploymentId) { return(tableManager.DeleteTableEntries(deploymentId)); }
public Task DeleteMembershipTableEntries(string clusterId) { return(tableManager.DeleteTableEntries(clusterId)); }