summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-06-15 17:48:51 +0200
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2016-06-15 17:48:51 +0200
commita9885e7a893c261d902e80029b81697bd5d69c01 (patch)
tree560721f3a8ec5281f5e031fbcb21925c5667cb48
parent22a6d88fc1c5f5008e86b7a9ed5054d06f918f04 (diff)
parent089645318fbe56394935466537e7cf9c77809f21 (diff)
downloadrabbitmq-server-git-a9885e7a893c261d902e80029b81697bd5d69c01.tar.gz
Merge branch 'stable'
-rw-r--r--test/priority_queue_SUITE.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/priority_queue_SUITE.erl b/test/priority_queue_SUITE.erl
index 3e94e5bf02..56b44d423e 100644
--- a/test/priority_queue_SUITE.erl
+++ b/test/priority_queue_SUITE.erl
@@ -463,9 +463,7 @@ mirror_queue_sync_order(Config) ->
%%----------------------------------------------------------------------------
open(Config) ->
- Conn = rabbit_ct_client_helpers:open_connection(Config, 0),
- Ch = rabbit_ct_client_helpers:open_channel(Config, 0),
- {Conn, Ch}.
+ rabbit_ct_client_helpers:open_connection_and_channel(Config, 0).
declare(Ch, Q, Args) when is_list(Args) ->
amqp_channel:call(Ch, #'queue.declare'{queue = Q,