Skip to content

Commit ea58fb1

Browse files
crashing_queues_SUITE: squash a compiler warning
1 parent 9f026f7 commit ea58fb1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbit/test/crashing_queues_SUITE.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ crashing_durable(Config) ->
8181
ConnB = rabbit_ct_client_helpers:open_connection(Config, B),
8282
QName = <<"crashing-q">>,
8383
amqp_channel:call(ChA, #'confirm.select'{}),
84-
test_queue_failure(A, ChA, ConnB, 1, 0,
84+
test_queue_failure(A, ChA, ConnB, 1,
8585
#'queue.declare'{queue = QName, durable = true}),
8686
ok.
8787

@@ -91,11 +91,11 @@ crashing_transient(Config) ->
9191
ConnB = rabbit_ct_client_helpers:open_connection(Config, B),
9292
QName = <<"crashing-q">>,
9393
amqp_channel:call(ChA, #'confirm.select'{}),
94-
test_queue_failure(A, ChA, ConnB, 0, 0,
94+
test_queue_failure(A, ChA, ConnB, 0,
9595
#'queue.declare'{queue = QName, durable = false}),
9696
ok.
9797

98-
test_queue_failure(Node, Ch, RaceConn, MsgCount, FollowerCount, Decl) ->
98+
test_queue_failure(Node, Ch, RaceConn, MsgCount, Decl) ->
9999
#'queue.declare_ok'{queue = QName} = amqp_channel:call(Ch, Decl),
100100
try
101101
publish(Ch, QName, transient),

0 commit comments

Comments
 (0)