From 29b4a83d93fe3dd9d7dbdec85fc6613ca9a96a80 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Fri, 8 Mar 2019 20:29:38 +0100 Subject: [PATCH] Wait for commands to finish between tests. --- src/NzbDrone.Integration.Test/IntegrationTestBase.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NzbDrone.Integration.Test/IntegrationTestBase.cs b/src/NzbDrone.Integration.Test/IntegrationTestBase.cs index ecd7ac6e5..050fac466 100644 --- a/src/NzbDrone.Integration.Test/IntegrationTestBase.cs +++ b/src/NzbDrone.Integration.Test/IntegrationTestBase.cs @@ -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]