From 9b6c6b200d75f4a1e7ca6209c57d3291f445a52c Mon Sep 17 00:00:00 2001 From: Cristian Tuns Date: Thu, 9 May 2024 22:42:35 -0400 Subject: [PATCH] Backed out changeset 455cd83ca518 (bug 1895092) for causing xpcshell exception CLOSED TREE --- testing/mozharness/scripts/desktop_unittest.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/testing/mozharness/scripts/desktop_unittest.py b/testing/mozharness/scripts/desktop_unittest.py index a08da92f4dbf..70fba005795f 100755 --- a/testing/mozharness/scripts/desktop_unittest.py +++ b/testing/mozharness/scripts/desktop_unittest.py @@ -938,17 +938,8 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin, CodeCoverageM # All Linux systems need module-null-sink to be loaded, otherwise # media tests fail. - self.run_command("pactl load-module module-null-sink") - modules = self.get_output_from_command("pactl list modules short") - if not [l for l in modules.splitlines() if "module-x11" in l]: - # gnome-session isn't running, missing logind and other system services - # force the task to retry (return 4) - self.return_code = 4 - self.fatal( - "Unable to start PulseAudio and load x11 modules", - exit_code=self.return_code, - ) + self.run_command("pactl list modules short") def stage_files(self): for category in SUITE_CATEGORIES: