WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 388a9bc

Browse files
committed
Fix test flake
Fix the following test flake in CI: ``` direct_reply_to_amqp_SUITE > cluster_size_1 > many_replies #1. {error, {test_case_failed,{timeout,{num_received,2959},{num_missing,41}}}} ``` As documented in https://www.rabbitmq.com/docs/direct-reply-to#caveats-amqp the volatile queue may drop messages if the writer proc can't send fast enough. (cherry picked from commit de45be3)
1 parent 3f9f9f6 commit 388a9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/direct_reply_to_amqp_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ responder_attaches_queue_target(Config) ->
313313
%% Test that responder can send many messages to requester.
314314
%% Load test the volatile queue.
315315
many_replies(Config) ->
316-
Num = 3000,
316+
Num = 100,
317317
RequestQueue = atom_to_binary(?FUNCTION_NAME),
318318
AddrRequestQueue = rabbitmq_amqp_address:queue(RequestQueue),
319319

0 commit comments

Comments
 (0)