@@ -237,15 +237,27 @@ import_case16(Config) ->
237237 end .
238238
239239export_import_round_trip_case1 (Config ) ->
240- % % case 6 has runtime parameters that do not depend on any plugins
241- import_file_case (Config , " case6" ),
242- Defs = export (Config ),
243- import_raw (Config , rabbit_json :encode (Defs )).
240+ case rabbit_ct_helpers :is_mixed_versions () of
241+ false ->
242+ % % case 6 has runtime parameters that do not depend on any plugins
243+ import_file_case (Config , " case6" ),
244+ Defs = export (Config ),
245+ import_raw (Config , rabbit_json :encode (Defs ));
246+ _ ->
247+ % % skip the test in mixed version mode
248+ {skip , " Should not run in mixed version environments" }
249+ end .
244250
245251export_import_round_trip_case2 (Config ) ->
246- import_file_case (Config , " case9" , " case9a" ),
247- Defs = export (Config ),
248- import_parsed (Config , Defs ).
252+ case rabbit_ct_helpers :is_mixed_versions () of
253+ false ->
254+ import_file_case (Config , " case9" , " case9a" ),
255+ Defs = export (Config ),
256+ import_parsed (Config , Defs );
257+ _ ->
258+ % % skip the test in mixed version mode
259+ {skip , " Should not run in mixed version environments" }
260+ end .
249261
250262import_on_a_booting_node_using_classic_local_source (Config ) ->
251263 % % see case5.json
0 commit comments