Mercurial > public > mercurial-scm > hg
diff contrib/automation/hgautomation/winrm.py @ 42279:f30184484dd1
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 19 Apr 2019 06:07:00 -0700 |
parents | b05a3e28cf24 |
children | e91930d712e8 |
line wrap: on
line diff
--- 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.