Skip to content

Commit

Permalink
Merge pull request #149 from w3c/jgraham/firefox_e10s_timeout
Browse files Browse the repository at this point in the history
Increase timeout for reftests running in firefox+e10s
  • Loading branch information
jgraham committed Oct 2, 2015
2 parents 5a55f0c + 4bc1d66 commit 150b585
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions wptrunner/browsers/firefox.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,14 @@ def executor_kwargs(test_type, server_config, cache_manager, run_info_data,
executor_kwargs = base_executor_kwargs(test_type, server_config,
cache_manager, **kwargs)
executor_kwargs["close_after_done"] = True
if run_info_data["debug"] and kwargs["timeout_multiplier"] is None:
executor_kwargs["timeout_multiplier"] = 3
if kwargs["timeout_multiplier"] is None:
if kwargs["gecko_e10s"] and test_type == "reftest":
if run_info_data["debug"]:
executor_kwargs["timeout_multiplier"] = 4
else:
executor_kwargs["timeout_multiplier"] = 2
elif run_info_data["debug"]:
executor_kwargs["timeout_multiplier"] = 3
return executor_kwargs


Expand Down

0 comments on commit 150b585

Please sign in to comment.