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(
|
||||
#{
|
||||
dropped := Dropped,
|
||||
failed := 0,
|
||||
failed := Failed,
|
||||
inflight := Inflight,
|
||||
matched := Matched,
|
||||
queuing := Queueing,
|
||||
retried := 0,
|
||||
success := 0
|
||||
} when Matched >= 1 andalso Inflight + Queueing + Dropped =< 2,
|
||||
} when Matched >= 1 andalso Inflight + Queueing + Dropped + Failed =< 2,
|
||||
CurrentMetrics
|
||||
);
|
||||
{timeout, async} ->
|
||||
|
|
Loading…
Reference in New Issue