Wait for commands to finish between tests.

This commit is contained in:
Taloth Saldono 2019-03-08 20:29:38 +01:00
parent 7b159c1e63
commit 29b4a83d93
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ namespace NzbDrone.Integration.Test
public void IntegrationSetUp()
{
TempDirectory = Path.Combine(TestContext.CurrentContext.TestDirectory, "_test_" + DateTime.UtcNow.Ticks);
// Wait for things to get quiet, otherwise the previous test might influence the current one.
Commands.WaitAll();
}
[TearDown]