From 28168c1c6318005c3eee7b397ead364aa79ef944 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sat, 31 Aug 2013 17:30:35 -0700 Subject: [PATCH] trying to fix integration tests. --- NzbDrone.Integration.Test/IntegrationTest.cs | 6 ++++-- NzbDrone.Integration.Test/NzbDroneRunner.cs | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Integration.Test/IntegrationTest.cs b/NzbDrone.Integration.Test/IntegrationTest.cs index c0bb4b5fd..b858e4ff3 100644 --- a/NzbDrone.Integration.Test/IntegrationTest.cs +++ b/NzbDrone.Integration.Test/IntegrationTest.cs @@ -40,7 +40,8 @@ namespace NzbDrone.Integration.Test LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget)); } - [TestFixtureSetUp] + //[TestFixtureSetUp] + [SetUp] public void SmokeTestSetup() { _runner = new NzbDroneRunner(); @@ -64,7 +65,8 @@ namespace NzbDrone.Integration.Test NamingConfig = new ClientBase(RestClient, "config/naming"); } - [TestFixtureTearDown] + //[TestFixtureTearDown] + [TearDown] public void SmokeTestTearDown() { _runner.KillAll(); diff --git a/NzbDrone.Integration.Test/NzbDroneRunner.cs b/NzbDrone.Integration.Test/NzbDroneRunner.cs index cde91b605..5955166ff 100644 --- a/NzbDrone.Integration.Test/NzbDroneRunner.cs +++ b/NzbDrone.Integration.Test/NzbDroneRunner.cs @@ -58,6 +58,7 @@ namespace NzbDrone.Integration.Test if (statusCall.ResponseStatus == ResponseStatus.Completed) { + Console.WriteLine("NzbDrone is started. Running Tests"); return; }