]> git.sur5r.net Git - i3/i3/commitdiff
tests: unflake t/263-edge-borders.t
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 10 Sep 2017 18:06:49 +0000 (20:06 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 13 Sep 2017 16:42:18 +0000 (18:42 +0200)
testcases/t/263-edge-borders.t

index 0d14c65c3e4021da5f46b994f4995d0cae143aa6..6da1dacdd4ff357e70e5669304bd49ad88dd520d 100644 (file)
@@ -147,6 +147,10 @@ ok(@{get_ws_content($tmp)} == 2, 'after split & new window, two containers');
 
 $wscontent = get_ws($tmp);
 
+# Ensure i3’s X11 requests are processed before our inquiry via
+# $tilewindow->rect:
+sync_with_i3;
+
 @tiled = @{$wscontent->{nodes}};
 ok(@tiled == 2, 'two tiled container opened in another container');
 is($tiled[0]->{current_border_width}, -1, 'first tiled current border width set to -1');