Skip to content

Commit 8a1e93f

Browse files
committed
Make the test queue lazy
1 parent 4d91131 commit 8a1e93f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/test/dynamic_ha_SUITE.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ change_policy(Config) ->
184184
ACh = rabbit_ct_client_helpers:open_channel(Config, A),
185185

186186
%% When we first declare a queue with no policy, it's not HA.
187-
amqp_channel:call(ACh, #'queue.declare'{queue = ?QNAME}),
187+
amqp_channel:call(ACh, #'queue.declare'{queue = ?QNAME, arguments = [<<"mode">> = <<"lazy">>]}),
188188
timer:sleep(200),
189189
assert_followers(A, ?QNAME, {A, ''}),
190190

0 commit comments

Comments
 (0)