зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 024d5d30566d (bug 1352351) for frequently failing resume-timer-on-history-back.html on Windows. r=backout a=backout
MozReview-Commit-ID: JSU0OCtbAOe
This commit is contained in:
Родитель
34da17ecef
Коммит
9115045faf
|
@ -627,6 +627,7 @@ class PathGroupedSource(TestSource):
|
|||
self.current_queue.put(item)
|
||||
except Empty:
|
||||
return None
|
||||
|
||||
return self.current_queue
|
||||
|
||||
def requeue_test(self, test):
|
||||
|
|
|
@ -499,10 +499,9 @@ class TestRunnerManager(threading.Thread):
|
|||
return None, None
|
||||
try:
|
||||
# Need to block here just to allow for contention with other processes
|
||||
test = test_queue.get(block=True, timeout=2)
|
||||
test = test_queue.get(block=True, timeout=1)
|
||||
except Empty:
|
||||
if test_queue.empty():
|
||||
test_queue = None
|
||||
pass
|
||||
return test, test_queue
|
||||
|
||||
def run_test(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче