trying to fix integration tests.

pull/4/head
kay.one 11 years ago
parent daabc6364d
commit 28168c1c63

@ -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();

@ -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;
} }

Loading…
Cancel
Save