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. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3329>
This commit is contained in:
parent
827adc898e
commit
56cfac14fb
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue