Fix issue with WatchDispose test that had a race condition that may result in test failing (#427)
This commit is contained in:
@@ -263,7 +263,6 @@ namespace k8s.Tests
|
||||
await Task.Yield();
|
||||
}
|
||||
|
||||
Assert.Empty(events);
|
||||
Assert.False(watcher.Watching);
|
||||
Assert.True(connectionClosed.IsSet);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user