@@ -76,7 +76,8 @@ groups() ->
7676 local_to_local_quorum_credit_flow_no_ack ,
7777 local_to_local_stream_credit_flow_on_confirm ,
7878 local_to_local_stream_credit_flow_on_publish ,
79- local_to_local_stream_credit_flow_no_ack
79+ local_to_local_stream_credit_flow_no_ack ,
80+ local_to_local_simple_uri
8081 ]}
8182 ].
8283
@@ -1029,6 +1030,21 @@ local_to_local_stream_credit_flow(Config, AckMode) ->
10291030 amqp10_client :detach_link (Receiver )
10301031 end ).
10311032
1033+ local_to_local_simple_uri (Config ) ->
1034+ Src = ? config (srcq , Config ),
1035+ Dest = ? config (destq , Config ),
1036+ AltVHost = ? config (alt_vhost , Config ),
1037+ Uri = <<" amqp://" >>,
1038+ ok = rabbit_ct_broker_helpers :rpc (
1039+ Config , 0 , rabbit_runtime_parameters , set ,
1040+ [<<" /" >>, <<" shovel" >>, ? PARAM , [{<<" src-uri" >>, Uri },
1041+ {<<" dest-uri" >>, [Uri ]},
1042+ {<<" src-protocol" >>, <<" local" >>},
1043+ {<<" src-queue" >>, Src },
1044+ {<<" dest-protocol" >>, <<" local" >>},
1045+ {<<" dest-queue" >>, Dest }],
1046+ none ]),
1047+ shovel_test_utils :await_shovel (Config , ? PARAM ).
10321048
10331049% %----------------------------------------------------------------------------
10341050with_session (Config , Fun ) ->
0 commit comments