Bug 1558667 - Try to make test_resource_monitor.py more robust; r=ahal

This test has been failing, infrequently, mostly on osx/py2, for many months.
Increasing the time interval between events appears to reduce failure frequency.

Differential Revision: https://phabricator.services.mozilla.com/D76402
This commit is contained in:
Geoff Brown 2020-05-22 15:08:54 +00:00
Родитель f6231cf697
Коммит 2bd1ea09d5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -88,7 +88,7 @@ class TestResourceMonitor(unittest.TestCase):
t0 = time.time()
monitor.record_event('t0')
time.sleep(0.5)
time.sleep(2)
monitor.record_event('t1')
time.sleep(0.5)