bug 1505806: webdriver: throttle window rect calls; r=whimboo

By throttling the Get Window Rect calls we avoid the buffer filling
up on Windows, and avoid errors such as: [Errno 10055] An operation
on a socket could not be performed because the system lacked
sufficient buffer space or because a queue was full

Differential Revision: https://phabricator.services.mozilla.com/D11410

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Tolfsen 2018-11-09 10:54:16 +00:00
parent 9ce1f044f1
commit 9ca9639faa
2 changed files with 1 additions and 3 deletions

View File

@ -1,3 +0,0 @@
[stress.py]
disabled:
if (os == "win"): https://bugzilla.mozilla.org/show_bug.cgi?id=1505806

View File

@ -40,3 +40,4 @@ def test_stress(session, i):
t_end = time.time() + 3
while time.time() < t_end:
assert session.window.size == size_after_maximize
time.sleep(.1)