mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-24 00:38:13 +00:00
added logging to integration test runner for status call.
This commit is contained in:
@@ -53,11 +53,16 @@ namespace NzbDrone.Integration.Test
|
||||
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;
|
||||
}
|
||||
|
||||
Console.WriteLine("Waiting for NzbDrone to start. Response Status : {0} [{1}] {2}", statusCall.ResponseStatus, statusCall.StatusDescription, statusCall.ErrorException);
|
||||
|
||||
Thread.Sleep(500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user