summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2021-09-22 17:22:49 +0200
committerPhilip Kuryloski <kuryloskip@vmware.com>2021-09-22 19:35:07 +0200
commitf765e4c628b865d6201e292ba2523ebc86ef92f4 (patch)
tree24a4965e5608891e701ee62f45b8c937fa1397af
parent39c4d6c3ad52ac8070ea39a981546021f80ad691 (diff)
downloadrabbitmq-server-git-f765e4c628b865d6201e292ba2523ebc86ef92f4.tar.gz
Use only 3 nodes for feature_flags_with_unpriveleged_user_SUITE
The test does not appear reliable when it runs in Github actions. This is currently the only test that does so. Other tests run of BuildBuddy workers. (cherry picked from commit 7dc0c29227e39b2c0657e0650d5b96a10addf09d)
-rw-r--r--deps/rabbit/test/feature_flags_with_unpriveleged_user_SUITE.erl11
1 files changed, 11 insertions, 0 deletions
diff --git a/deps/rabbit/test/feature_flags_with_unpriveleged_user_SUITE.erl b/deps/rabbit/test/feature_flags_with_unpriveleged_user_SUITE.erl
index d5d54862b6..bf01e2c181 100644
--- a/deps/rabbit/test/feature_flags_with_unpriveleged_user_SUITE.erl
+++ b/deps/rabbit/test/feature_flags_with_unpriveleged_user_SUITE.erl
@@ -54,6 +54,17 @@ end_per_suite(Config) ->
feature_flags_SUITE:end_per_suite(Config).
+init_per_group(enabling_in_cluster, Config) ->
+ case rabbit_ct_helpers:is_mixed_versions() of
+ true ->
+ %% This test relies on functions only exported for test,
+ %% which is not true of mixed version nodes in bazel
+ {skip, "mixed mode not supported"};
+ _ ->
+ rabbit_ct_helpers:set_config(
+ Config,
+ [{rmq_nodes_count, 3}])
+ end;
init_per_group(Group, Config) ->
feature_flags_SUITE:init_per_group(Group, Config).