trying to fix integration tests.

This commit is contained in:
kay.one 2013-08-31 17:30:35 -07:00
parent daabc6364d
commit 28168c1c63
2 changed files with 5 additions and 2 deletions

View File

@ -40,7 +40,8 @@ namespace NzbDrone.Integration.Test
LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget)); LogManager.Configuration.LoggingRules.Add(new LoggingRule("*", LogLevel.Trace, consoleTarget));
} }
[TestFixtureSetUp] //[TestFixtureSetUp]
[SetUp]
public void SmokeTestSetup() public void SmokeTestSetup()
{ {
_runner = new NzbDroneRunner(); _runner = new NzbDroneRunner();
@ -64,7 +65,8 @@ namespace NzbDrone.Integration.Test
NamingConfig = new ClientBase<NamingConfigResource>(RestClient, "config/naming"); NamingConfig = new ClientBase<NamingConfigResource>(RestClient, "config/naming");
} }
[TestFixtureTearDown] //[TestFixtureTearDown]
[TearDown]
public void SmokeTestTearDown() public void SmokeTestTearDown()
{ {
_runner.KillAll(); _runner.KillAll();

View File

@ -58,6 +58,7 @@ namespace NzbDrone.Integration.Test
if (statusCall.ResponseStatus == ResponseStatus.Completed) if (statusCall.ResponseStatus == ResponseStatus.Completed)
{ {
Console.WriteLine("NzbDrone is started. Running Tests");
return; return;
} }