From 1600d5170711a91d64f2f64a10d114bac9c3a12d Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Tue, 13 Aug 2013 12:30:43 -0700 Subject: [PATCH] updated path for integration test --- NzbDrone.Integration.Test/IntegrationTest.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Integration.Test/IntegrationTest.cs b/NzbDrone.Integration.Test/IntegrationTest.cs index e5da7f81b..cf2118790 100644 --- a/NzbDrone.Integration.Test/IntegrationTest.cs +++ b/NzbDrone.Integration.Test/IntegrationTest.cs @@ -57,10 +57,18 @@ namespace NzbDrone.Integration.Test { AppDate = Path.Combine(Directory.GetCurrentDirectory(), "_intg_" + DateTime.Now.Ticks); - Start("..\\..\\..\\..\\_output\\NzbDrone.Console.exe"); + if (BuildInfo.IsDebug) + { + Start("..\\..\\..\\..\\_output\\NzbDrone.Console.exe"); + } + else + { + Start("bin\\NzbDrone.Console.exe"); + } while (RestClient.Get(new RestRequest("system/status")).ResponseStatus != ResponseStatus.Completed) { + Thread.Sleep(1000); } }