We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8da7b2 commit f672627Copy full SHA for f672627
deps/rabbit/test/queue_length_limits_SUITE.erl
@@ -82,8 +82,17 @@ init_per_group(mnesia_parallel_tests = Group, Config0) ->
82
Config = rabbit_ct_helpers:set_config(Config0, [{metadata_store, mnesia}]),
83
init_per_group0(Group, Config);
84
init_per_group(khepri_parallel_tests = Group, Config0) ->
85
- Config = rabbit_ct_helpers:set_config(Config0, [{metadata_store, khepri}]),
86
- init_per_group0(Group, Config).
+ %% this is very hacky way of skipping the tests, but the khepri_db
+ %% flag exists in 3,13, but it's not compatible with 4.x. We can remove
87
+ %% this after 4.2
88
+ SecondaryDist = os:getenv("SECONDARY_DIST", ""),
89
+ case string:str(SecondaryDist, "3.13.") == 0 of
90
+ true ->
91
+ Config = rabbit_ct_helpers:set_config(Config0, [{metadata_store, khepri}]),
92
+ init_per_group0(Group, Config);
93
+ _ ->
94
+ {skip, "Khepri was not supported in 3.13"}
95
+ end.
96
97
init_per_group0(Group, Config) ->
98
case lists:member({group, Group}, all()) of
0 commit comments