From 98a99d47cb4d768d08f22856e8e8dcc839847c59 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Tue, 30 May 2023 14:03:14 -0300 Subject: [PATCH] test(shared_sub): attempt to reduce test flakiness https://github.com/emqx/emqx/actions/runs/5122717037/jobs/9215439237#step:8:565 ``` %%% emqx_shared_sub_SUITE ==> t_local_fallback: FAILED %%% emqx_shared_sub_SUITE ==> {{badmatch,<<"not yet?">>}, [{emqx_shared_sub_SUITE,t_local_fallback,1, [{file,"/__w/emqx/emqx/source/apps/emqx/test/emqx_shared_sub_SUITE.erl"}, {line,669}]}, ``` --- apps/emqx/test/emqx_shared_sub_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx/test/emqx_shared_sub_SUITE.erl b/apps/emqx/test/emqx_shared_sub_SUITE.erl index 506e97e4d..e66b42bc8 100644 --- a/apps/emqx/test/emqx_shared_sub_SUITE.erl +++ b/apps/emqx/test/emqx_shared_sub_SUITE.erl @@ -666,7 +666,7 @@ t_local_fallback(Config) when is_list(Config) -> {true, UsedSubPid1} = last_message(<<"hello1">>, [ConnPid1]), rpc:call(Node, emqx, publish, [Message2]), - {true, UsedSubPid2} = last_message(<<"hello2">>, [ConnPid1]), + {true, UsedSubPid2} = last_message(<<"hello2">>, [ConnPid1], 2_000), emqtt:stop(ConnPid1), stop_slave(Node),