test(mqtt-bridge): increase timeout in snk event wait

This commit is contained in:
Zaiming Shi 2021-09-23 13:32:36 +02:00
parent 4664b85968
commit 92a3d683cf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
-define(wait(For, Timeout), emqx_ct_helpers:wait_for(?FUNCTION_NAME, ?LINE, fun() -> For end, Timeout)).
-define(SNK_WAIT(WHAT), ?assertMatch({ok, _}, ?block_until(#{?snk_kind := WHAT}, 2000, 1000))).
-define(SNK_WAIT(WHAT), ?assertMatch({ok, _}, ?block_until(#{?snk_kind := WHAT}, 5000, 5000))).
receive_messages(Count) ->
receive_messages(Count, []).