testcases: fix race conditions in various tests

This commit is contained in:
Maik Fischer
2011-11-21 16:49:22 +01:00
committed by Michael Stapelberg
parent af793c9030
commit 0f386a96e7
4 changed files with 33 additions and 22 deletions

View File

@ -237,6 +237,9 @@ cmd 'kill';
wait_for_unmap $x;
$window->destroy;
# give i3 a chance to delete the window from its tree
sync_with_i3 $x;
@content = @{get_ws_content($tmp)};
cmp_ok(@content, '==', 0, 'no nodes on this workspace now');