automation: wait longer for WinRM connection
I got a few timeouts waiting for only 120s for the WinRM connection
to become available. Increasing to 180s seems to fix. I guess
AWS isn't as consistent as I would like :(
Differential Revision: https://phab.mercurial-scm.org/D6287
--- a/contrib/automation/hgautomation/winrm.py Sat Apr 27 11:38:58 2019 -0700
+++ b/contrib/automation/hgautomation/winrm.py Fri Apr 19 06:07:00 2019 -0700
@@ -25,7 +25,7 @@
logger = logging.getLogger(__name__)
-def wait_for_winrm(host, username, password, timeout=120, ssl=False):
+def wait_for_winrm(host, username, password, timeout=180, ssl=False):
"""Wait for the Windows Remoting (WinRM) service to become available.
Returns a ``psrpclient.Client`` instance.