@@ -1910,7 +1910,7 @@ server_closes_link_exchange(Settled, Config) ->
19101910 RoutingKey = <<" my routing key" >>,
19111911 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
19121912 # 'exchange.declare_ok' {} = amqp_channel :call (Ch , # 'exchange.declare' {exchange = XName }),
1913- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
1913+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
19141914 # 'queue.bind_ok' {} = amqp_channel :call (Ch , # 'queue.bind' {queue = QName ,
19151915 exchange = XName ,
19161916 routing_key = RoutingKey }),
@@ -2030,7 +2030,7 @@ target_queues_deleted_accepted(Config) ->
20302030 QNames = [Q1 , Q2 , Q3 ],
20312031 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
20322032 [begin
2033- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
2033+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
20342034 # 'queue.bind_ok' {} = amqp_channel :call (Ch , # 'queue.bind' {queue = QName ,
20352035 exchange = <<" amq.fanout" >>})
20362036 end || QName <- QNames ],
@@ -3304,7 +3304,7 @@ detach_requeues_two_connections(QType, Config) ->
33043304resource_alarm_before_session_begin (Config ) ->
33053305 QName = atom_to_binary (? FUNCTION_NAME ),
33063306 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
3307- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
3307+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
33083308 OpnConf = connection_config (Config ),
33093309 {ok , Connection } = amqp10_client :open_connection (OpnConf ),
33103310
@@ -3359,7 +3359,7 @@ resource_alarm_before_session_begin(Config) ->
33593359resource_alarm_after_session_begin (Config ) ->
33603360 QName = atom_to_binary (? FUNCTION_NAME ),
33613361 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
3362- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
3362+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
33633363 Address = rabbitmq_amqp_address :queue (QName ),
33643364 OpnConf = connection_config (Config ),
33653365
@@ -3428,7 +3428,7 @@ resource_alarm_after_session_begin(Config) ->
34283428resource_alarm_send_many (Config ) ->
34293429 QName = atom_to_binary (? FUNCTION_NAME ),
34303430 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
3431- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
3431+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
34323432 Address = rabbitmq_amqp_address :queue (QName ),
34333433 OpnConf = connection_config (Config ),
34343434 {ok , Connection } = amqp10_client :open_connection (OpnConf ),
@@ -3491,7 +3491,7 @@ max_message_size_client_to_server(Config) ->
34913491
34923492 QName = atom_to_binary (? FUNCTION_NAME ),
34933493 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
3494- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
3494+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
34953495 Address = rabbitmq_amqp_address :queue (QName ),
34963496 OpnConf = connection_config (Config ),
34973497 {ok , Connection } = amqp10_client :open_connection (OpnConf ),
@@ -3520,7 +3520,7 @@ max_message_size_client_to_server(Config) ->
35203520max_message_size_server_to_client (Config ) ->
35213521 QName = atom_to_binary (? FUNCTION_NAME ),
35223522 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
3523- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
3523+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
35243524 Address = rabbitmq_amqp_address :queue (QName ),
35253525 OpnConf = connection_config (Config ),
35263526 {ok , Connection } = amqp10_client :open_connection (OpnConf ),
@@ -3575,7 +3575,7 @@ last_queue_confirms(Config) ->
35753575 Qs = [ClassicQ , QuorumQ ],
35763576 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
35773577 # 'queue.declare_ok' {} = amqp_channel :call (
3578- Ch , # 'queue.declare' {queue = ClassicQ }),
3578+ Ch , # 'queue.declare' {queue = ClassicQ , durable = true }),
35793579 # 'queue.declare_ok' {} = amqp_channel :call (
35803580 Ch , # 'queue.declare' {
35813581 queue = QuorumQ ,
@@ -3647,7 +3647,7 @@ target_queue_deleted(Config) ->
36473647 Qs = [ClassicQ , QuorumQ ],
36483648 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
36493649 # 'queue.declare_ok' {} = amqp_channel :call (
3650- Ch , # 'queue.declare' {queue = ClassicQ }),
3650+ Ch , # 'queue.declare' {queue = ClassicQ , durable = true }),
36513651 # 'queue.declare_ok' {} = amqp_channel :call (
36523652 Ch , # 'queue.declare' {
36533653 queue = QuorumQ ,
@@ -4749,7 +4749,7 @@ trace(Q, QType, Config) ->
47494749 queue = Q ,
47504750 durable = true ,
47514751 arguments = [{<<" x-queue-type" >>, longstr , QType }]}),
4752- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = TraceQ }),
4752+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = TraceQ , durable = true }),
47534753 # 'queue.bind_ok' {} = amqp_channel :call (
47544754 Ch , # 'queue.bind' {queue = TraceQ ,
47554755 exchange = <<" amq.rabbitmq.trace" >>,
@@ -4869,7 +4869,7 @@ message_ttl(Config) ->
48694869 QName = atom_to_binary (? FUNCTION_NAME ),
48704870 Address = rabbitmq_amqp_address :queue (QName ),
48714871 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
4872- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
4872+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
48734873 ok = rabbit_ct_client_helpers :close_connection_and_channel (Conn , Ch ),
48744874 OpnConf = connection_config (Config ),
48754875 {ok , Connection } = amqp10_client :open_connection (OpnConf ),
@@ -6190,7 +6190,7 @@ receive_many_auto_flow(QType, Config) ->
61906190incoming_window_closed_transfer_flow_order (Config ) ->
61916191 QName = atom_to_binary (? FUNCTION_NAME ),
61926192 {Conn , Ch } = rabbit_ct_client_helpers :open_connection_and_channel (Config ),
6193- # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName }),
6193+ # 'queue.declare_ok' {} = amqp_channel :call (Ch , # 'queue.declare' {queue = QName , durable = true }),
61946194 ok = rabbit_ct_client_helpers :close_connection_and_channel (Conn , Ch ),
61956195 Address = rabbitmq_amqp_address :queue (QName ),
61966196 OpnConf = connection_config (Config ),
0 commit comments