From 30912c6f24bb7020ecbb4f90621234dcb6b9518a Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 1 Jan 2017 14:31:08 +0100 Subject: [PATCH] test-geometry: Wait for c:kill() to be done Signed-off-by: Uli Schlachter --- tests/test-geometry.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test-geometry.lua b/tests/test-geometry.lua index 12535d2b..c90d1b9d 100644 --- a/tests/test-geometry.lua +++ b/tests/test-geometry.lua @@ -65,7 +65,10 @@ local steps = { height = 100 }} } - return true + -- Wait for the previous c:kill() to be done + if #client.get() == 0 then + return true + end end, function(count) if count == 1 then