Bug 1541215 - [raptor] Use proper timeout values for test_start_browser. r=rwood
authorHenrik Skupin <mail@hskupin.info>
Thu, 04 Apr 2019 06:12:45 +0000
changeset 467923 3f56360e90add2384b4137b8a092b8c544f8b126
parent 467922 a77666feb3580c20b3b0f23bed0254cd90be05e4
child 467925 130653bcfef08ffa4a0a122c87f7b675c20ad665
push id112667
push useraiakab@mozilla.com
push dateThu, 04 Apr 2019 16:12:45 +0000
treeherdermozilla-inbound@230bb363f2f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrwood
bugs1541215
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1541215 - [raptor] Use proper timeout values for test_start_browser. r=rwood Differential Revision: https://phabricator.services.mozilla.com/D25859
testing/raptor/test/test_raptor.py
--- a/testing/raptor/test/test_raptor.py
+++ b/testing/raptor/test/test_raptor.py
@@ -93,25 +93,25 @@ def test_start_and_stop_server(raptor):
 @pytest.mark.parametrize('app', [
     'firefox',
     pytest.mark.xfail('chrome'),
 ])
 def test_start_browser(get_binary, app):
     binary = get_binary(app)
     assert binary
 
-    raptor = RaptorDesktopFirefox(app, binary)
+    raptor = RaptorDesktopFirefox(app, binary, post_startup_delay=0)
     raptor.create_browser_profile()
     raptor.create_browser_handler()
     raptor.start_control_server()
 
     test = {}
     test['name'] = 'raptor-{}-tp6'.format(app)
 
-    thread = TestBrowserThread(raptor, test)
+    thread = TestBrowserThread(raptor, test, timeout=0)
     thread.start()
 
     timeout = time.time() + 5  # seconds
     while time.time() < timeout:
         try:
             is_running = raptor.runner.is_running()
             assert is_running
             break