From b8dd03c2221a1c8722da1c432fb79c71e001f2d2 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Tue, 22 Oct 2024 11:29:39 +0200 Subject: [PATCH] tests: do some adjustments fixing the firefox crash under wayland --- firefox-theme/default/user.js | 4 ++++ test/machine_install.py | 2 +- test/run | 4 +--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/firefox-theme/default/user.js b/firefox-theme/default/user.js index 95f49403da..3e65b2bf8a 100644 --- a/firefox-theme/default/user.js +++ b/firefox-theme/default/user.js @@ -45,3 +45,7 @@ user_pref("datareporting.healthreport.uploadEnabled", false); user_pref("datareporting.policy.dataSubmissionEnabled", false); user_pref("toolkit.telemetry.unified", false); user_pref("trailhead.firstrun.didSeeAboutWelcome", true); + +// Disable hardware acceleration, we are doomed - firefox crashed under wayland +user_pref("browser.preferences.defaultPerformanceSettings.enabled", false); +user_pref("layers.acceleration.disabled", true); diff --git a/test/machine_install.py b/test/machine_install.py index a78d2656f3..dc63d872d0 100755 --- a/test/machine_install.py +++ b/test/machine_install.py @@ -147,7 +147,7 @@ def start(self): f"{boot_arg} " f"--name {self.label} " f"--os-variant=detect=on " - "--memory 4096 " + "--memory 4096 --vcpus 4 " "--noautoconsole " f"--graphics vnc,listen={self.ssh_address} " "--extra-args " diff --git a/test/run b/test/run index 65450fc5a8..e15413cde9 100755 --- a/test/run +++ b/test/run @@ -35,9 +35,7 @@ esac # test runs in kernel_t context and triggers massive amounts of SELinux # denials; SELinux gets disabled, but would still trigger unexpected messages # we create huge VMs, so we need to reduce parallelism on CI -if [ -z "${TEST_JOBS-}" ]; then - TEST_JOBS=4 -fi +TEST_JOBS=4 if [ -z "${TEST_OS-}" ]; then TEST_OS=fedora-rawhide-boot fi