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
]}
@@ -82,14 +76,13 @@ init_per_suite(Config) ->
82
76
end_per_suite (Config ) ->
83
77
rabbit_ct_helpers :run_teardown_steps (Config ).
84
78
85
- init_per_group (mnesia_store , Config ) ->
86
- rabbit_ct_helpers :set_config (Config , [{metadata_store , mnesia }]);
87
- init_per_group (khepri_store , Config ) ->
88
- FFs = [khepri_db ],
89
- rabbit_ct_helpers :set_config (Config , [{metadata_store , {khepri , FFs }}]);
90
- init_per_group (khepri_migration = Group , Config0 ) ->
91
- Config = rabbit_ct_helpers :set_config (Config0 , [{metadata_store , mnesia }]),
92
- init_per_group (Group , Config , 1 );
79
+ init_per_group (khepri_migration = Group , Config ) ->
80
+ case rabbit_ct_broker_helpers :configured_metadata_store (Config ) of
81
+ mnesia ->
82
+ init_per_group (Group , Config , 1 );
83
+ _ ->
84
+ {skip , " This group only targets mnesia" }
85
+ end ;
93
86
init_per_group (clustered = Group , Config ) ->
94
87
init_per_group (Group , Config , 3 );
95
88
init_per_group (Group , Config ) ->
@@ -105,12 +98,6 @@ init_per_group(Group, Config, NodesCount) ->
105
98
rabbit_ct_broker_helpers :setup_steps () ++
106
99
rabbit_ct_client_helpers :setup_steps ()).
107
100
108
- end_per_group (mnesia_store , Config ) ->
109
- Config ;
110
- end_per_group (khepri_store , Config ) ->
111
- Config ;
112
- end_per_group (khepri_migration , Config ) ->
113
- Config ;
114
101
end_per_group (_ , Config ) ->
115
102
rabbit_ct_helpers :run_teardown_steps (Config ,
116
103
rabbit_ct_client_helpers :teardown_steps () ++
0 commit comments