Merge pull request #13318 from thalesmg/test-flaky-gcp-consu-r57-20240621
test(gcp consumer): stabilize flaky test
This commit is contained in:
commit
cc89a20ed9
|
@ -1448,7 +1448,10 @@ t_connection_down_before_starting(Config) ->
|
||||||
),
|
),
|
||||||
{ok, _} = create_bridge(Config),
|
{ok, _} = create_bridge(Config),
|
||||||
{ok, _} = snabbkaffe:receive_events(SRef0),
|
{ok, _} = snabbkaffe:receive_events(SRef0),
|
||||||
?assertMatch({ok, connecting}, health_check(Config)),
|
?assertMatch(
|
||||||
|
{ok, Status} when Status =:= connecting orelse Status =:= disconnected,
|
||||||
|
health_check(Config)
|
||||||
|
),
|
||||||
|
|
||||||
emqx_common_test_helpers:heal_failure(down, ProxyName, ProxyHost, ProxyPort),
|
emqx_common_test_helpers:heal_failure(down, ProxyName, ProxyHost, ProxyPort),
|
||||||
?retry(
|
?retry(
|
||||||
|
|
Loading…
Reference in New Issue