Skip to content

Commit

Permalink
fix(emqx_rule_engine_api_rule_apply_SUITE): flaky test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellwinblad committed Apr 18, 2024
1 parent 8f1486f commit f5b0439
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion apps/emqx/test/emqx_trace_SUITE.erl
Expand Up @@ -512,4 +512,13 @@ build_old_trace_data() ->

reload() ->
catch ok = gen_server:stop(emqx_trace),
{ok, _Pid} = emqx_trace:start_link().
case emqx_trace:start_link() of
{ok, _Pid} = Res ->
Res;
NotOKRes ->
ct:pal(
"emqx_trace:start_link() gave result: ~p\n"
"(perhaps it is already started)",
[NotOKRes]
)
end.

0 comments on commit f5b0439

Please sign in to comment.