public void AfterEachTest() { if (_manager == null) { return; } var disposed = _manager.DisposeAsync().Wait(TimeSpan.FromMinutes(1)); Assert.IsTrue(disposed, "Failed to dispose FileMonitorManager."); }
public void AfterEachTest() { var disposed = _manager.DisposeAsync().Wait(TimeSpan.FromMinutes(2)); Assert.IsTrue(disposed, "Manager dispose operation did not complete in time."); }