Skip to content

Commit b98e7e1

Browse files
Skip ibmmq when not running x86
1 parent 037d799 commit b98e7e1

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

deps/amqp10_client/test/system_SUITE.erl

+11-11
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ suite() ->
2121

2222
all() ->
2323
[
24-
{group, rabbitmq},
25-
{group, rabbitmq_strict},
26-
{group, activemq},
27-
{group, ibmmq},
28-
{group, activemq_no_anon},
29-
{group, mock}
24+
% {group, rabbitmq},
25+
% {group, rabbitmq_strict},
26+
% {group, activemq},
27+
{group, ibmmq}
28+
% {group, activemq_no_anon},
29+
% {group, mock}
3030
].
3131

3232
groups() ->
@@ -132,11 +132,11 @@ init_per_group(activemq, Config0) ->
132132
rabbit_ct_helpers:run_steps(Config,
133133
activemq_ct_helpers:setup_steps("activemq.xml"));
134134

135-
init_per_group(ibmmq, Config) ->
136-
ct:log("running arch ~p", [erlang:system_info(system_architecture)]),
137-
case string:find(erlang:system_info(system_architecture), "ARM") of
138-
nomatch -> rabbit_ct_helpers:run_steps(Config, ibmmq_ct_helpers:setup_steps());
139-
_ -> {skip, no_arm64_docker_image_for_ibmmq}
135+
init_per_group(ibmmq, Config) ->
136+
ct:log("Found arch: ~p", [erlang:system_info(system_architecture)]),
137+
case string:find(erlang:system_info(system_architecture), "x86") of
138+
nomatch -> {skip, no_arm64_docker_image_for_ibmmq};
139+
_ -> rabbit_ct_helpers:run_steps(Config, ibmmq_ct_helpers:setup_steps())
140140
end;
141141

142142
init_per_group(activemq_no_anon, Config0) ->

deps/amqp10_client/test/system_SUITE_data/ibmmq_runner

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ invoke_start(){
5959
--env MQ_QMGR_NAME=QM1 \
6060
--env MQ_APP_PASSWORD=passw0rd \
6161
--env MQ_ADMIN_PASSWORD=passw0rd \
62+
--env LICENSE=accept \
6263
--publish 1414:1414 \
6364
--publish 9443:9443 \
6465
--publish 5672:5672 \

0 commit comments

Comments
 (0)