Skip to content

Commit bb532d9

Browse files
authored
Merge pull request #12532 from rabbitmq/mergify/bp/v4.0.x/pr-12530
Fix error message (backport #12530)
2 parents 605b62d + f59e40b commit bb532d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deps/rabbit/test/amqp_system_SUITE.erl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,19 @@ build_dotnet_test_project(Config) ->
9898
rabbit_ct_helpers:set_config(
9999
Config, {dotnet_test_project_dir, TestProjectDir});
100100
_ ->
101-
{skip, "Failed to fetch .NET Core test project dependencies"}
101+
ct:fail({"'dotnet restore' failed", Ret})
102102
end.
103103

104104
build_maven_test_project(Config) ->
105105
TestProjectDir = filename:join([?config(data_dir, Config), "java-tests"]),
106106
Ret = rabbit_ct_helpers:exec([TestProjectDir ++ "/mvnw", "test-compile"],
107-
[{cd, TestProjectDir}]),
107+
[{cd, TestProjectDir}]),
108108
case Ret of
109109
{ok, _} ->
110110
rabbit_ct_helpers:set_config(Config,
111-
{maven_test_project_dir, TestProjectDir});
111+
{maven_test_project_dir, TestProjectDir});
112112
_ ->
113-
{skip, "Failed to build Maven test project"}
113+
ct:fail({"'mvnw test-compile' failed", Ret})
114114
end.
115115

116116
%% -------------------------------------------------------------------

0 commit comments

Comments
 (0)