mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 17:17:02 +00:00
trying to fix integration tests.
This commit is contained in:
parent
daabc6364d
commit
28168c1c63
2 changed files with 5 additions and 2 deletions
|
@ -40,7 +40,8 @@ public IntegrationTest()
|
||||||
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 @@ private void InitRestClients()
|
||||||
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 @@ public void Start()
|
||||||
|
|
||||||
if (statusCall.ResponseStatus == ResponseStatus.Completed)
|
if (statusCall.ResponseStatus == ResponseStatus.Completed)
|
||||||
{
|
{
|
||||||
|
Console.WriteLine("NzbDrone is started. Running Tests");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue