diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2016-06-15 17:39:13 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2016-06-15 17:39:13 +0200 |
| commit | 089645318fbe56394935466537e7cf9c77809f21 (patch) | |
| tree | 069756404783074a51ff194c38e8d27e3ebfc5c0 /test | |
| parent | da7b6b137fea2d7749619a5a10c9d25036579704 (diff) | |
| download | rabbitmq-server-git-089645318fbe56394935466537e7cf9c77809f21.tar.gz | |
priority_queue_SUITE: Use the new open_connection_and_channel() helper
Diffstat (limited to 'test')
| -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, |
