Skip to content

Commit a759745

Browse files
committed
quorum_queue_SUITE: Use less messages in force_checkpoint_on_queue
[Why] The default checkpoint interval is 16384. Therefore with 20,000 messages published by the testcase, there is a chance a checkpoint is created. This would hit an assertion in the testcase which expects no checkpoints before it forces the creation of one. We see this happening in CI. Not locally because the testcase runs fast enough. [How] The testcase now sends 10,000 messages. This is still a lot of messages while staying under the default checkpoint interval.
1 parent dcfea6a commit a759745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/quorum_queue_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ force_checkpoint_on_queue(Config) ->
14531453
?assertEqual({'queue.declare_ok', QQ, 0, 0},
14541454
declare(Ch, QQ, [{<<"x-queue-type">>, longstr, <<"quorum">>}])),
14551455

1456-
N = 20_000,
1456+
N = 10_000,
14571457
rabbit_ct_client_helpers:publish(Ch, QQ, N),
14581458
wait_for_messages_ready([Server0], RaName, N),
14591459

0 commit comments

Comments
 (0)