tests: unflake t/263-edge-borders.t

This commit is contained in:
Michael Stapelberg 2017-09-10 20:06:49 +02:00
parent bed5c9e03a
commit 06e8f75d52
1 changed files with 4 additions and 0 deletions

View File

@ -147,6 +147,10 @@ ok(@{get_ws_content($tmp)} == 2, 'after split & new window, two containers');
$wscontent = get_ws($tmp); $wscontent = get_ws($tmp);
# Ensure i3s X11 requests are processed before our inquiry via
# $tilewindow->rect:
sync_with_i3;
@tiled = @{$wscontent->{nodes}}; @tiled = @{$wscontent->{nodes}};
ok(@tiled == 2, 'two tiled container opened in another container'); 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'); is($tiled[0]->{current_border_width}, -1, 'first tiled current border width set to -1');