Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/2d87e7ebeacb33836f8c959a00bb059ff3683963
...commit
http://git.netsurf-browser.org/netsurf.git/commit/2d87e7ebeacb33836f8c959a00bb059ff3683963
...tree
http://git.netsurf-browser.org/netsurf.git/tree/2d87e7ebeacb33836f8c959a00bb059ff3683963
The branch, master has been updated
via 2d87e7ebeacb33836f8c959a00bb059ff3683963 (commit)
from 524965b867e9aaef4ba75d6e077fdfd6c0b88401 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=2d87e7ebeacb33836f8c959a00bb059ff3683963
commit 2d87e7ebeacb33836f8c959a00bb059ff3683963
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>
monkey_driver: Make window-close take timeout=5
In the parallel test we run, it can sometimes take more than
a second for the JS compartment of a window to close down. Since
that's part of the shutdown of a window, the driver can end up
timing out. Default the timeout to 5s for window-close but make
it possible to specify in the yaml too.
Signed-off-by: Daniel Silverstone <[email protected]>
diff --git a/test/monkey_driver.py b/test/monkey_driver.py
index 9d2af05..7f8a430 100755
--- a/test/monkey_driver.py
+++ b/test/monkey_driver.py
@@ -265,8 +265,9 @@ def run_test_step_action_window_close(ctx, step):
tag = step['window']
assert ctx['windows'].get(tag) is not None
win = ctx['windows'].pop(tag)
+ timeout = int(step.get('timeout', 5))
win.kill()
- win.wait_until_dead()
+ win.wait_until_dead(timeout=timeout)
assert not win.alive
-----------------------------------------------------------------------
Summary of changes:
test/monkey_driver.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/monkey_driver.py b/test/monkey_driver.py
index 9d2af05..7f8a430 100755
--- a/test/monkey_driver.py
+++ b/test/monkey_driver.py
@@ -265,8 +265,9 @@ def run_test_step_action_window_close(ctx, step):
tag = step['window']
assert ctx['windows'].get(tag) is not None
win = ctx['windows'].pop(tag)
+ timeout = int(step.get('timeout', 5))
win.kill()
- win.wait_until_dead()
+ win.wait_until_dead(timeout=timeout)
assert not win.alive
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org