@@ -178,15 +178,27 @@ import_case16(Config) ->
178178 end .
179179
180180export_import_round_trip_case1 (Config ) ->
181- % % case 6 has runtime parameters that do not depend on any plugins
182- import_file_case (Config , " case6" ),
183- Defs = export (Config ),
184- import_raw (Config , rabbit_json :encode (Defs )).
181+ case rabbit_ct_helpers :is_mixed_versions () of
182+ false ->
183+ % % case 6 has runtime parameters that do not depend on any plugins
184+ import_file_case (Config , " case6" ),
185+ Defs = export (Config ),
186+ import_raw (Config , rabbit_json :encode (Defs ));
187+ _ ->
188+ % % skip the test in mixed version mode
189+ {skip , " Should not run in mixed version environments" }
190+ end .
185191
186192export_import_round_trip_case2 (Config ) ->
187- import_file_case (Config , " case9" , " case9a" ),
188- Defs = export (Config ),
189- import_parsed (Config , Defs ).
193+ case rabbit_ct_helpers :is_mixed_versions () of
194+ false ->
195+ import_file_case (Config , " case9" , " case9a" ),
196+ Defs = export (Config ),
197+ import_parsed (Config , Defs );
198+ _ ->
199+ % % skip the test in mixed version mode
200+ {skip , " Should not run in mixed version environments" }
201+ end .
190202
191203import_on_a_booting_node (Config ) ->
192204 % % see case5.json
0 commit comments