Backed out changeset 455cd83ca518 (bug 1895092) for causing xpcshell exception CLOSED TREE

This commit is contained in:
Cristian Tuns 2024-05-09 22:42:35 -04:00
parent b70f99de48
commit 9b6c6b200d

View file

@ -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: