1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

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

View File

@ -127,6 +127,9 @@ public void SmokeTestTearDown()
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]