# HG changeset patch # User Gregory Szorc # Date 1555679220 25200 # Node ID f30184484dd1db5e96603725236554d5f8d41598 # Parent 8dc22a2094204fbeebfb51155095d77d847d7c53 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 diff -r 8dc22a209420 -r f30184484dd1 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.