tests/stacking/restore-position: Always use wait_reconfigure

wait_reconfigure ensures that the whole configure back and forth
completes before continuing. Doing this after every state change ensures
that we always end up with the expected state, thus fixes flakyness of
the restore-position stacking test.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1279
This commit is contained in:
Jonas Ådahl 2020-05-29 16:27:03 +02:00 committed by verdre
parent f8e2234ce5
commit c5b1bdc0fe

View File

@ -16,11 +16,11 @@ wait_reconfigure
assert_position x/1 100 100
tile x/1 left
wait
wait_reconfigure
assert_position x/1 0 0
untile x/1
wait
wait_reconfigure
assert_position x/1 100 100
tile x/1 left
@ -57,11 +57,11 @@ wait_reconfigure
assert_position w/1 0 0
untile w/1
wait
wait_reconfigure
assert_position w/1 100 100
tile w/1 left
wait
wait_reconfigure
assert_position w/1 0 0
maximize w/1