Skip to content

Commit 01470dc

Browse files
committed
Bug 1829464 - Fix intermittent in test_main_tab_scalars.py r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D176377 UltraBlame original commit: 0b8c708afdfb6f47428bbbb17c50b19d341e669d
1 parent 747e41e commit 01470dc

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

toolkit/components/telemetry/tests/marionette/tests/client/test_main_tab_scalars.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,21 @@ def test_main_tab_scalars(self):
1313
"""Test for Telemetry Scalars."""
1414

1515
with self.marionette.using_context(self.marionette.CONTEXT_CHROME):
16+
17+
18+
19+
20+
21+
self.marionette.execute_script(
22+
"""
23+
const { BrowserUsageTelemetry } = ChromeUtils.import(
24+
"resource:///modules/BrowserUsageTelemetry.jsm"
25+
);
26+
27+
BrowserUsageTelemetry._onTabsOpenedTask._timeoutMs = 0;
28+
"""
29+
)
30+
1631
start_tab = self.marionette.current_window_handle
1732

1833
tab2 = self.open_tab(focus=True)

0 commit comments

Comments
 (0)