diff --git a/NzbDrone.Web.UI.Test/AutomationTestBase.cs b/NzbDrone.Web.UI.Test/AutomationTestBase.cs
index 602fd9d41..79ef23474 100644
--- a/NzbDrone.Web.UI.Test/AutomationTestBase.cs
+++ b/NzbDrone.Web.UI.Test/AutomationTestBase.cs
@@ -114,9 +114,11 @@ namespace NzbDrone.Web.UI.Automation
foreach (var process in Process.GetProcesses())
{
if (string.Equals(process.ProcessName, "NzbDrone", StringComparison.InvariantCultureIgnoreCase)
- || string.Equals(process.ProcessName, "IISExpress", StringComparison.InvariantCultureIgnoreCase))
+ || string.Equals(process.ProcessName, "IISExpress", StringComparison.InvariantCultureIgnoreCase))
+ {
process.Kill();
- process.WaitForExit();
+ process.WaitForExit();
+ }
}
try
@@ -128,10 +130,13 @@ namespace NzbDrone.Web.UI.Automation
foreach (var process in Process.GetProcesses())
{
if (string.Equals(process.ProcessName, "NzbDrone", StringComparison.InvariantCultureIgnoreCase)
- || string.Equals(process.ProcessName, "IISExpress", StringComparison.InvariantCultureIgnoreCase)
- || string.Equals(process.ProcessName, "ServiceUninstall", StringComparison.InvariantCultureIgnoreCase))
+ || string.Equals(process.ProcessName, "IISExpress", StringComparison.InvariantCultureIgnoreCase)
+ ||
+ string.Equals(process.ProcessName, "ServiceUninstall", StringComparison.InvariantCultureIgnoreCase))
+ {
process.Kill();
- process.WaitForExit();
+ process.WaitForExit();
+ }
}
}
diff --git a/NzbDrone.Web.UI.Test/NzbDrone.Web.UI.Automation.csproj b/NzbDrone.Web.UI.Test/NzbDrone.Web.UI.Automation.csproj
index 7270cccbd..2fa5c35a6 100644
--- a/NzbDrone.Web.UI.Test/NzbDrone.Web.UI.Automation.csproj
+++ b/NzbDrone.Web.UI.Test/NzbDrone.Web.UI.Automation.csproj
@@ -30,6 +30,7 @@
TRACE
prompt
4
+ x86