Merge pull request #12221 from thalesmg/test-flaky-retry-m-20231222
test: reduce flakiness
This commit is contained in:
commit
711a9a06c8
|
|
@ -1553,7 +1553,11 @@ t_get_status_timeout_calling_workers(Config) ->
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
fun() ->
|
fun() ->
|
||||||
?assertEqual({ok, disconnected}, emqx_resource_manager:health_check(ResourceId)),
|
?retry(
|
||||||
|
_Sleep0 = 100,
|
||||||
|
_Attempts0 = 20,
|
||||||
|
?assertEqual({ok, disconnected}, emqx_resource_manager:health_check(ResourceId))
|
||||||
|
),
|
||||||
ok
|
ok
|
||||||
end
|
end
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue