[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser] 297/311: Bug 1762463 - Fix perma failing ytp tests on mozilla-release build. r=sparky, a=test-only
This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.
commit a55d837b66954af2e50b51907f4e6fa5045f4307
Author: Kash Shampur <kshampur@xxxxxxxxxxx>
AuthorDate: Mon Apr 4 18:55:13 2022 +0000
Bug 1762463 - Fix perma failing ytp tests on mozilla-release build. r=sparky, a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D142621
---
testing/raptor/raptor/browsertime/base.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/testing/raptor/raptor/browsertime/base.py b/testing/raptor/raptor/browsertime/base.py
index cfdedf9b830db..01b2d0c554baa 100644
--- a/testing/raptor/raptor/browsertime/base.py
+++ b/testing/raptor/raptor/browsertime/base.py
@@ -159,6 +159,12 @@ class Browsertime(Perftest):
["--chrome.chromedriverPath", self.browsertime_chromedriver]
)
+ # YTP tests fail in mozilla-release due to the `MOZ_DISABLE_NONLOCAL_CONNECTIONS`
+ # environment variable. This logic changes this variable for the browsertime test
+ # subprocess call in `run_test`
+ if "youtube-playback" in test["name"] and self.config["is_release_build"]:
+ os.environ["MOZ_DISABLE_NONLOCAL_CONNECTIONS"] = "0"
+
LOG.info("test: {}".format(test))
def run_test_teardown(self, test):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits