From: Maik Fischer Date: Mon, 21 Nov 2011 23:42:26 +0000 (+0100) Subject: t/005-floating.t: fix potentional race condition X-Git-Tag: 4.2~229^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9acd36ce438624751e14b56fee5bd79318cbad0;p=i3%2Fi3 t/005-floating.t: fix potentional race condition --- diff --git a/testcases/t/005-floating.t b/testcases/t/005-floating.t index d62a0366..ac6623f2 100644 --- a/testcases/t/005-floating.t +++ b/testcases/t/005-floating.t @@ -76,8 +76,8 @@ $window->map; wait_for_map $window; cmd 'floating enable'; +sync_with_i3($x); -# XXX potentionally racy ($absolute, $top) = $window->rect; cmp_ok($absolute->{width}, '==', 80, "i3 let the width at 80");