test: fix flaky test
This commit is contained in:
parent
51a0b93868
commit
5ab5236ad3
|
@ -1105,13 +1105,13 @@ do_econnrefused_or_timeout_test(Config, Error) ->
|
||||||
?assertMatch(
|
?assertMatch(
|
||||||
#{
|
#{
|
||||||
dropped := Dropped,
|
dropped := Dropped,
|
||||||
failed := 0,
|
failed := Failed,
|
||||||
inflight := Inflight,
|
inflight := Inflight,
|
||||||
matched := Matched,
|
matched := Matched,
|
||||||
queuing := Queueing,
|
queuing := Queueing,
|
||||||
retried := 0,
|
retried := 0,
|
||||||
success := 0
|
success := 0
|
||||||
} when Matched >= 1 andalso Inflight + Queueing + Dropped =< 2,
|
} when Matched >= 1 andalso Inflight + Queueing + Dropped + Failed =< 2,
|
||||||
CurrentMetrics
|
CurrentMetrics
|
||||||
);
|
);
|
||||||
{timeout, async} ->
|
{timeout, async} ->
|
||||||
|
|
Loading…
Reference in New Issue