@@ -209,16 +209,13 @@ init_per_testcase(T, Config)
209209 T =:= management_plugin_enable ->
210210 inets :start (),
211211 init_per_testcase0 (T , Config );
212- <<<<<<< HEAD
213- =======
214212init_per_testcase (T , Config )
215213 when T =:= clean_session_disconnect_client ;
216214 T =:= clean_session_node_restart ;
217215 T =:= clean_session_node_kill ;
218216 T =:= notify_consumer_qos0_queue_deleted ->
219217 ok = rpc (Config , rabbit_registry , register , [queue , <<" qos0" >>, rabbit_mqtt_qos0_queue ]),
220218 init_per_testcase0 (T , Config );
221- >>>>>>> bf468bdd5 (MQTT : disconnect consumer when queue is deleted )
222219init_per_testcase (Testcase , Config ) ->
223220 init_per_testcase0 (Testcase , Config ).
224221
@@ -230,16 +227,13 @@ end_per_testcase(T, Config)
230227 T =:= management_plugin_enable ->
231228 ok = inets :stop (),
232229 end_per_testcase0 (T , Config );
233- <<<<<<< HEAD
234- =======
235230end_per_testcase (T , Config )
236231 when T =:= clean_session_disconnect_client ;
237232 T =:= clean_session_node_restart ;
238233 T =:= clean_session_node_kill ;
239234 T =:= notify_consumer_qos0_queue_deleted ->
240235 ok = rpc (Config , rabbit_registry , unregister , [queue , <<" qos0" >>]),
241236 end_per_testcase0 (T , Config );
242- >>>>>>> bf468bdd5 (MQTT : disconnect consumer when queue is deleted )
243237end_per_testcase (Testcase , Config ) ->
244238 end_per_testcase0 (Testcase , Config ).
245239
@@ -337,20 +331,16 @@ decode_basic_properties(Config) ->
337331 {ok , _ , [1 ]} = emqtt :subscribe (C1 , Topic , qos1 ),
338332 QuorumQueues = rpc (Config , rabbit_amqqueue , list_by_type , [rabbit_quorum_queue ]),
339333 ? assertEqual (1 , length (QuorumQueues )),
340- Ch = rabbit_ct_client_helpers :open_channel (Config ),
334+ { Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
341335 amqp_channel :call (Ch , # 'basic.publish' {exchange = <<" amq.topic" >>,
342336 routing_key = Topic },
343337 # amqp_msg {payload = Payload }),
344338 ok = expect_publishes (C1 , Topic , [Payload ]),
345339 ok = emqtt :disconnect (C1 ),
346340 C2 = connect (ClientId , Config , [{clean_start , true }]),
347341 ok = emqtt :disconnect (C2 ),
348- <<<<<<< HEAD
349- ok = rpc (Config , application , unset_env , [App , Par ]).
350- =======
351342 unset_durable_queue_type (Config ),
352343 ok = rabbit_ct_client_helpers :close_connection_and_channel (Conn , Ch ).
353- >>>>>>> bf468bdd5 (MQTT : disconnect consumer when queue is deleted )
354344
355345quorum_queue_rejects (Config ) ->
356346 {_Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
@@ -1992,11 +1982,7 @@ await_confirms_unordered(From, Left) ->
19921982 end .
19931983
19941984await_consumer_count (ConsumerCount , ClientId , QoS , Config ) ->
1995- <<<<<<< HEAD
1996- Ch = rabbit_ct_client_helpers :open_channel (Config ),
1997- =======
19981985 {_Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
1999- >>>>>>> bf468bdd5 (MQTT : disconnect consumer when queue is deleted )
20001986 QueueName = rabbit_mqtt_util :queue_name_bin (
20011987 rabbit_data_coercion :to_binary (ClientId ), QoS ),
20021988 eventually (
0 commit comments