From 0d8106c6dda0d5decb01ff0e74ff27fd5006a844 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 1 Jan 2017 14:30:17 +0100 Subject: [PATCH] test-leak-client.lua: Wait for c:kill() to be done Signed-off-by: Uli Schlachter --- tests/test-leak-client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-leak-client.lua b/tests/test-leak-client.lua index 09e2d2906..edba1ef57 100644 --- a/tests/test-leak-client.lua +++ b/tests/test-leak-client.lua @@ -62,7 +62,7 @@ local steps = { -- Wait for one iteration so that gears.timer handles other delayed -- calls (= the tasklist updates) second_call = true - else + elseif #client.get() == 0 then assert(#objs == 1) -- Test that we have a client and that it's invalid (tostring()