From 915e984f32dd7bebb8707d4099f418326dc164c5 Mon Sep 17 00:00:00 2001 From: Andrew Stanton-Nurse Date: Fri, 31 Mar 2017 14:34:14 -0700 Subject: [PATCH] increase timeout for remote deployer (#1001) Turns out it takes a while to deploy to nano server --- .../Deployers/RemoteWindowsDeployer/RemoteWindowsDeployer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/RemoteWindowsDeployer.cs b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/RemoteWindowsDeployer.cs index f9b60f62ad..ed201c2539 100644 --- a/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/RemoteWindowsDeployer.cs +++ b/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/RemoteWindowsDeployer.cs @@ -263,7 +263,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting runScriptsOnRemoteServerProcess.StartAndCaptureOutAndErrToLogger(serverAction, Logger); - await processExited.Task.OrTimeout(TimeSpan.FromMinutes(1)); + await processExited.Task.OrTimeout(TimeSpan.FromMinutes(5)); runScriptsOnRemoteServerProcess.WaitForExit((int)TimeSpan.FromMinutes(1).TotalMilliseconds); if (runScriptsOnRemoteServerProcess.HasExited && runScriptsOnRemoteServerProcess.ExitCode != 0)