Actually make bc timeout

Signed-off-by: Rahix <rahix@rahix.de>
This commit is contained in:
rahix 2019-04-16 22:30:18 +02:00
parent 9f10348b58
commit b9c3674755
2 changed files with 4 additions and 2 deletions

View file

@ -50,5 +50,7 @@ end
function test_timeout_finalize()
local bc1 = BaseControl:new()
local addr1 = network.get_scene()
bc1:finalize({"to_final1"}, 0.1)
assert_error_match("timeout", function()
bc1:finalize({"to_final1"}, 0.1)
end)
end