Skip to content

Commit

Permalink
fixup! Make the cache manager owned by the TestEnvironment so it can …
Browse files Browse the repository at this point in the history
…be shut down correctly.
  • Loading branch information
jgraham committed Mar 5, 2015
1 parent 1d4232b commit 492538d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions wptrunner/browsers/b2g.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ def executor_kwargs(test_type, http_server_url, cache_manager, **kwargs):
if timeout_multiplier is None:
timeout_multiplier = 2

if test_type == "reftest":
executor_kwargs["cache_manager"] = cache_manager

executor_kwargs = {"http_server_url": http_server_url,
"timeout_multiplier": timeout_multiplier,
"close_after_done": False}

if test_type == "reftest":
executor_kwargs["cache_manager"] = cache_manager

return executor_kwargs


Expand Down
1 change: 0 additions & 1 deletion wptrunner/executors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import os
import traceback
from abc import ABCMeta, abstractmethod
from multiprocessing import Manager

from ..testrunner import Stop

Expand Down

0 comments on commit 492538d

Please sign in to comment.