Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test-make-target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
- name: RUN TESTS
if: inputs.plugin != 'rabbitmq_cli'
run: |
sudo netstat -ntp
make -C deps/${{ inputs.plugin }} ${{ inputs.make_target }} RABBITMQ_METADATA_STORE=${{ inputs.metadata_store }}

# rabbitmq_cli needs a correct broker version for two of its tests.
Expand Down
17 changes: 11 additions & 6 deletions deps/rabbit/test/amqp_auth_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,17 @@ init_per_group(Group, Config0) ->
Config1,
rabbit_ct_broker_helpers:setup_steps() ++
rabbit_ct_client_helpers:setup_steps()),
Vhost = <<"test vhost">>,
User = <<"test user">>,
ok = rabbit_ct_broker_helpers:add_vhost(Config, Vhost),
ok = rabbit_ct_broker_helpers:add_user(Config, User),
[{test_vhost, Vhost},
{test_user, User}] ++ Config.
case Config of
_ when is_list(Config) ->
Vhost = <<"test vhost">>,
User = <<"test user">>,
ok = rabbit_ct_broker_helpers:add_vhost(Config, Vhost),
ok = rabbit_ct_broker_helpers:add_user(Config, User),
[{test_vhost, Vhost},
{test_user, User}] ++ Config;
{skip, _} = Skip ->
Skip
end.

end_per_group(_Group, Config) ->
ok = rabbit_ct_broker_helpers:delete_user(Config, ?config(test_user, Config)),
Expand Down
2 changes: 1 addition & 1 deletion deps/rabbit/test/rabbit_stream_queue_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2743,7 +2743,7 @@ retry_if_coordinator_unavailable(Config, Server, Cmd, Retry) ->
case re:run(Msg, ".*coordinator_unavailable.*", [{capture, none}]) of
match ->
ct:pal("Attempt to execute command ~p failed, coordinator unavailable", [Cmd]),
retry_if_coordinator_unavailable(Config, Ch, Cmd, Retry - 1);
retry_if_coordinator_unavailable(Config, Server, Cmd, Retry - 1);
_ ->
exit(Error)
end
Expand Down
3 changes: 3 additions & 0 deletions deps/rabbit/test/unit_credit_flow_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

-compile(export_all).

suite() ->
[{timetrap, {minutes, 3}}].

all() ->
[
{group, sequential_tests}
Expand Down
Loading