Add timeout to call_sync

Signed-off-by: Rahix <rahix@rahix.de>
This commit is contained in:
rahix 2019-04-17 12:49:37 +02:00
parent 253e04ff5d
commit 2b935b87e4
3 changed files with 11 additions and 6 deletions

View file

@ -43,7 +43,7 @@ function test_timeout_call()
)
assert_error_match("timeout", function()
bc:call_sync("toc1v", 0.1)
bc:call_sync(0.1, "toc1v")
end)
end