test(olp): fix inter-suite flakiness
https://github.com/emqx/emqx/actions/runs/5122717037/jobs/9212645120?pr=10883#step:8:2538 ``` emqx_olp_SUITE:t_overload_cooldown_conn failed on line 96 Reason: {assertMatch,[{module,...},{...}|...]} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Testing lib.emqx.emqx_olp_SUITE: *** FAILED test case 3 of 4 *** %%% emqx_olp_SUITE ==> t_overload_cooldown_conn: FAILED %%% emqx_olp_SUITE ==> Failure/Error: ?assertMatch({ ok , _Pid }, emqtt : connect ( C )) expected: = { ok , _Pid } got: {error,econnrefused} line: 96 %%% emqx_olp_SUITE ==> t_overloaded_conn: OK Testing lib.emqx.emqx_olp_SUITE: TEST COMPLETE, 3 ok, 1 failed of 4 test cases ``` ```sh make ct-suite SUITE=apps/emqx/test/emqx_access_control_SUITE.erl,apps/emqx/test/emqx_olp_SUITE.erl ```
This commit is contained in:
parent
5c8b73e829
commit
37b4a44e23
|
@ -28,6 +28,7 @@
|
|||
all() -> emqx_common_test_helpers:all(?MODULE).
|
||||
|
||||
init_per_suite(Config) ->
|
||||
emqx_common_test_helpers:boot_modules(all),
|
||||
emqx_common_test_helpers:start_apps([]),
|
||||
OldSch = erlang:system_flag(schedulers_online, 1),
|
||||
[{old_sch, OldSch} | Config].
|
||||
|
|
Loading…
Reference in New Issue