2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00

[fenix] No issue: increase sleep duration in cold_view_nav_start benchmark.

This commit is contained in:
Michael Comella 2021-06-17 12:25:34 -07:00 committed by Michael Comella
parent 62ee6d6b34
commit 57ec8df799

View File

@ -134,7 +134,7 @@ def get_measurement(test_name, pkg_id, stdout):
if test_name in [TEST_COLD_MAIN_FF, TEST_COLD_VIEW_FF]:
measurement = get_measurement_from_am_start_log(stdout)
elif test_name in [TEST_COLD_VIEW_NAV_START, TEST_COLD_MAIN_RESTORE]:
time.sleep(3) # We must sleep until the navigation start event occurs.
time.sleep(4) # We must sleep until the navigation start event occurs.
proc = subprocess.run(['adb', 'logcat', '-d'], check=True, capture_output=True)
measurement = get_measurement_from_nav_start_logcat(pkg_id, proc.stdout)
else: raise NotImplementedError('method unexpectedly undefined for test_name {}'.format(test_name))