Skip to content

Commit 5dd3bcd

Browse files
committed
Give robot remote server more time to start up
Appveyor systems seem to have become slower. Some the amount of time it takes for NVDA to start up is approaching 10 seconds.
1 parent 7a9958c commit 5dd3bcd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/system/libraries/NvdaLib.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def _startNVDAInstallerProcess(self):
200200
)
201201
return handle
202202

203-
def _connectToRemoteServer(self, connectionTimeoutSecs=10):
203+
def _connectToRemoteServer(self, connectionTimeoutSecs=15):
204204
"""Connects to the nvdaSpyServer
205205
Because we do not know how far through the startup NVDA is, we have to poll
206206
to check that the server is available. Importing the library immediately seems
@@ -217,6 +217,7 @@ def _connectToRemoteServer(self, connectionTimeoutSecs=10):
217217
_blockUntilConditionMet(
218218
getValue=lambda: _testRemoteServer(self._spyServerURI, log=False),
219219
giveUpAfterSeconds=connectionTimeoutSecs,
220+
intervalBetweenSeconds=0.3,
220221
errorMessage=f"Unable to connect to {self._spyAlias}",
221222
)
222223
builtIn.log(f"Connecting to {self._spyAlias}", level='DEBUG')

0 commit comments

Comments
 (0)