automation: wait longer for WinRM connection
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 19 Apr 2019 06:07:00 -0700
changeset 42306 f30184484dd1
parent 42305 8dc22a209420
child 42307 e570106beda1
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
contrib/automation/hgautomation/winrm.py
--- 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.