20
20
21
21
all () ->
22
22
[
23
- {group , mnesia_store },
24
- {group , khepri_store },
23
+ {group , routing_tests },
24
+ {group , hash_ring_management_tests },
25
+ {group , clustered },
25
26
{group , khepri_migration }
26
27
].
27
28
28
29
groups () ->
29
30
[
30
- {mnesia_store , [], [
31
- {routing_tests , [], routing_tests ()},
32
- {hash_ring_management_tests , [], hash_ring_management_tests ()},
33
- {clustered , [], [node_restart ]}
34
- ]},
35
- {khepri_store , [], [
36
- {routing_tests , [], routing_tests ()},
37
- {hash_ring_management_tests , [], hash_ring_management_tests ()},
38
- {clustered , [], [node_restart ]}
39
- ]},
31
+ {routing_tests , [], routing_tests ()},
32
+ {hash_ring_management_tests , [], hash_ring_management_tests ()},
33
+ {clustered , [], [node_restart ]},
40
34
{khepri_migration , [], [
41
35
from_mnesia_to_khepri
42
36
]}
@@ -80,14 +74,13 @@ init_per_suite(Config) ->
80
74
end_per_suite (Config ) ->
81
75
rabbit_ct_helpers :run_teardown_steps (Config ).
82
76
83
- init_per_group (mnesia_store , Config ) ->
84
- rabbit_ct_helpers :set_config (Config , [{metadata_store , mnesia }]);
85
- init_per_group (khepri_store , Config ) ->
86
- FFs = [khepri_db ],
87
- rabbit_ct_helpers :set_config (Config , [{metadata_store , {khepri , FFs }}]);
88
- init_per_group (khepri_migration = Group , Config0 ) ->
89
- Config = rabbit_ct_helpers :set_config (Config0 , [{metadata_store , mnesia }]),
90
- init_per_group (Group , Config , 1 );
77
+ init_per_group (khepri_migration = Group , Config ) ->
78
+ case rabbit_ct_broker_helpers :configured_metadata_store (Config ) of
79
+ mnesia ->
80
+ init_per_group (Group , Config , 1 );
81
+ _ ->
82
+ {skip , " This group only targets mnesia" }
83
+ end ;
91
84
init_per_group (clustered = Group , Config ) ->
92
85
case rabbit_ct_helpers :is_mixed_versions () of
93
86
false ->
@@ -111,12 +104,6 @@ init_per_group(Group, Config, NodesCount) ->
111
104
rabbit_ct_broker_helpers :setup_steps () ++
112
105
rabbit_ct_client_helpers :setup_steps ()).
113
106
114
- end_per_group (mnesia_store , Config ) ->
115
- Config ;
116
- end_per_group (khepri_store , Config ) ->
117
- Config ;
118
- end_per_group (khepri_migration , Config ) ->
119
- Config ;
120
107
end_per_group (_ , Config ) ->
121
108
rabbit_ct_helpers :run_teardown_steps (Config ,
122
109
rabbit_ct_client_helpers :teardown_steps () ++
0 commit comments