Skip to content

Commit f193b72

Browse files
committed
Use different node to delete super stream in test
1 parent 2e7a30a commit f193b72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbitmq_stream/test/rabbit_stream_partitions_SUITE.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ super_stream_sac_consumer_should_get_disconnected_on_network_partition(Config) -
250250
Acc#{K => {S0, C0}}
251251
end, #{}, SubIdToState0),
252252

253-
delete_super_stream(Config, Ss),
253+
delete_super_stream(Config, Ss, L#node.stream_port),
254254

255255
%% online consumers should receive a metadata update frame (stream deleted)
256256
%% we unqueue this frame before closing the connection
@@ -344,8 +344,8 @@ init_super_stream(Config, Ss) ->
344344
{ok, _} = stream_test_utils:close(S, C1),
345345
Partitions.
346346

347-
delete_super_stream(Config, Ss) ->
348-
{ok, S, C0} = stream_test_utils:connect(Config, 0),
347+
delete_super_stream(Config, Ss, Port) ->
348+
{ok, S, C0} = stream_test_utils:connect(Port),
349349
SsDeletionFrame = request({delete_super_stream, Ss}),
350350
ok = ?TRSPT:send(S, SsDeletionFrame),
351351
{Cmd1, C1} = receive_commands(S, C0),

0 commit comments

Comments
 (0)