Skip to content

Commit f23346e

Browse files
Merge pull request #16034 from rabbitmq/mergify/bp/v4.2.x/pr-16033
Test flake chase: AMQP 0-9-1 client, core `quorum_queue_SUITE`: fix a few test flakes (backport #16032) (backport #16033)
2 parents 3bf5a2f + 8b1170f commit f23346e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

deps/amqp_client/test/system_SUITE.erl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,13 +753,15 @@ channel_multi_open_close(Config) ->
753753
ok -> ok;
754754
closing -> ok
755755
catch
756-
exit:{noproc, _} -> ok;
757-
exit:{normal, _} -> ok
756+
exit:{noproc, _} -> ok;
757+
exit:{normal, _} -> ok;
758+
exit:{{shutdown, _}, _} -> ok
758759
end;
759760
closing -> ok
760761
catch
761-
exit:{noproc, _} -> ok;
762-
exit:{normal, _} -> ok
762+
exit:{noproc, _} -> ok;
763+
exit:{normal, _} -> ok;
764+
exit:{{shutdown, _}, _} -> ok
763765
end
764766
end) || _ <- lists:seq(1, 50)],
765767
erlang:yield(),
@@ -1200,7 +1202,7 @@ default_consumer(Config) ->
12001202
receive
12011203
{#'basic.deliver'{}, #'amqp_msg'{payload = Payload}} ->
12021204
ok
1203-
after 1000 ->
1205+
after 30000 ->
12041206
exit('default_consumer_didnt_work')
12051207
end,
12061208
teardown(Connection, Channel).

deps/rabbit/test/quorum_queue_SUITE.erl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4042,7 +4042,6 @@ queue_length_limit_policy_cleared(Config) ->
40424042
Config, 0, <<"max-length">>, QQ, <<"queues">>,
40434043
[{<<"max-length">>, 2},
40444044
{<<"overflow">>, <<"reject-publish">>}]),
4045-
timer:sleep(1000),
40464045
RaName = ra_name(QQ),
40474046
QueryFun = fun rabbit_fifo:overview/1,
40484047
?awaitMatch({ok, {_, #{config := #{max_length := 2}}}, _},

0 commit comments

Comments
 (0)