34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
|
From cc450c372358bc32960102ffdb2769a9f70cb6d5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||
|
Date: Tue, 17 Oct 2023 15:46:00 +0800
|
||
|
Subject: [PATCH 3/4] tests/x11: Fix replace test to catch the second instance
|
||
|
failing
|
||
|
|
||
|
The test never noticed that the second instance never actually managed
|
||
|
to load; it was looping a multi second retry session trying to redirect
|
||
|
windows, meaning it failed to catch https://gitlab.gnome.org/GNOME/mutter/-/issues/3089.
|
||
|
|
||
|
Fix the test so that it always waits for mutter to finish loading
|
||
|
successfully, just like it waits fro the first.
|
||
|
---
|
||
|
src/tests/x11-test.sh | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/src/tests/x11-test.sh b/src/tests/x11-test.sh
|
||
|
index 59e460fc33..d95b2460f6 100755
|
||
|
--- a/src/tests/x11-test.sh
|
||
|
+++ b/src/tests/x11-test.sh
|
||
|
@@ -34,6 +34,9 @@ echo \# Launched with pid $MUTTER2_PID
|
||
|
MUTTER2_PID=$!
|
||
|
wait $MUTTER1_PID
|
||
|
|
||
|
+echo \# Waiting for the second mutter to finish loading
|
||
|
+gdbus wait --session org.gnome.Mutter.IdleMonitor
|
||
|
+
|
||
|
sleep 2
|
||
|
|
||
|
echo \# Terminating clients > /dev/stderr
|
||
|
--
|
||
|
2.44.0.501.g19981daefd.dirty
|
||
|
|