From: Michael Stapelberg Date: Sun, 10 Sep 2017 18:06:49 +0000 (+0200) Subject: tests: unflake t/263-edge-borders.t X-Git-Tag: 4.15~98^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06e8f75d529e821690a816053268f76dd05b30a8;p=i3%2Fi3 tests: unflake t/263-edge-borders.t --- diff --git a/testcases/t/263-edge-borders.t b/testcases/t/263-edge-borders.t index 0d14c65c..6da1dacd 100644 --- a/testcases/t/263-edge-borders.t +++ b/testcases/t/263-edge-borders.t @@ -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');