mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 17:01:38 +00:00
added logging to integration test runner for status call.
This commit is contained in:
parent
6c7e12da5b
commit
64ab411ba3
1 changed files with 6 additions and 1 deletions
|
@ -53,11 +53,16 @@ public void Start()
|
||||||
Assert.Fail("Process has exited");
|
Assert.Fail("Process has exited");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_restClient.Get(new RestRequest("system/status")).ResponseStatus == ResponseStatus.Completed)
|
|
||||||
|
var statusCall = _restClient.Get(new RestRequest("system/status"));
|
||||||
|
|
||||||
|
if (statusCall.ResponseStatus == ResponseStatus.Completed)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Console.WriteLine("Waiting for NzbDrone to start. Response Status : {0} [{1}] {2}", statusCall.ResponseStatus, statusCall.StatusDescription, statusCall.ErrorException);
|
||||||
|
|
||||||
Thread.Sleep(500);
|
Thread.Sleep(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue