diff options
| -rw-r--r-- | test/priority_queue_SUITE.erl | 4 |
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, |
