test-leak-client.lua: Wait for c:kill() to be done

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2017-01-01 14:30:17 +01:00
parent 0dff0c308a
commit 0d8106c6dd
1 changed files with 1 additions and 1 deletions

View File

@ -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()