11load ("@bazel-erlang//:bazel_erlang_lib.bzl" , "erlc" )
2+ load ("@bazel-erlang//:ct.bzl" , "ct_group_case_matrix" , "ct_group_matrix" )
23load ("@bazel-erlang//:xref.bzl" , "xref" )
34load ("@bazel-erlang//:dialyze.bzl" , "dialyze" , "plt" )
45load ("//:rabbitmq_home.bzl" , "rabbitmq_home" )
@@ -361,13 +362,13 @@ rabbitmq_integration_suite(
361362 PACKAGE ,
362363 name = "clustering_management_SUITE" ,
363364 size = "large" ,
364- groups = [
365+ flaky = True ,
366+ matrix = ct_group_matrix ([
365367 "unclustered_2_nodes" ,
366368 "unclustered_3_nodes" ,
367369 "clustered_2_nodes" ,
368370 "clustered_4_nodes" ,
369- ],
370- flaky = True ,
371+ ]),
371372)
372373
373374rabbitmq_integration_suite (
@@ -426,7 +427,7 @@ rabbitmq_integration_suite(
426427 PACKAGE ,
427428 name = "dynamic_ha_SUITE" ,
428429 size = "large" ,
429- groups = {
430+ matrix = ct_group_case_matrix ( {
430431 "cluster_size_5" : [
431432 "change_cluster" ,
432433 ],
@@ -453,7 +454,7 @@ rabbitmq_integration_suite(
453454 "rebalance_nodes" ,
454455 "rebalance_multiple_blocked" ,
455456 ],
456- },
457+ }) ,
457458 deps = [
458459 "@proper//:bazel_erlang_lib" ,
459460 ],
@@ -478,18 +479,16 @@ rabbitmq_integration_suite(
478479 additional_beam = [
479480 ":sync_detection_SUITE_beam_files" ,
480481 ],
481- groups = {
482+ flaky = True ,
483+ matrix = ct_group_case_matrix ({
482484 "non_parallel_tests" : [
483- {
484- "case" : "eager_sync" ,
485- "flaky" : True ,
486- },
485+ "eager_sync" ,
487486 "eager_sync_cancel" ,
488487 "eager_sync_auto" ,
489488 "eager_sync_auto_on_policy_change" ,
490489 "eager_sync_requeue" ,
491490 ],
492- },
491+ }) ,
493492 tags = ["classic-queue" ],
494493)
495494
@@ -627,19 +626,14 @@ rabbitmq_integration_suite(
627626 PACKAGE ,
628627 name = "peer_discovery_classic_config_SUITE" ,
629628 size = "medium" ,
630- groups = {
629+ flaky = True ,
630+ matrix = ct_group_case_matrix ({
631631 "non_parallel" : [
632- {
633- "case" : "successful_discovery" ,
634- "flaky" : True ,
635- },
636- {
637- "case" : "successful_discovery_with_a_subset_of_nodes_coming_online" ,
638- "flaky" : True ,
639- },
632+ "successful_discovery" ,
633+ "successful_discovery_with_a_subset_of_nodes_coming_online" ,
640634 "no_nodes_configured" ,
641635 ],
642- },
636+ }) ,
643637)
644638
645639rabbitmq_integration_suite (
@@ -754,13 +748,13 @@ rabbitmq_integration_suite(
754748 additional_beam = [
755749 ":quorum_queue_utils" ,
756750 ],
757- groups = [
751+ matrix = ct_group_matrix ( [
758752 "classic_queue" ,
759753 "mirrored_queue" ,
760754 "quorum_queue" ,
761755 "quorum_queue_in_memory_limit" ,
762756 "quorum_queue_in_memory_bytes" ,
763- ],
757+ ]) ,
764758)
765759
766760rabbitmq_integration_suite (
@@ -909,10 +903,10 @@ rabbitmq_integration_suite(
909903 ":rabbit_ha_test_consumer" ,
910904 ":rabbit_ha_test_producer" ,
911905 ],
912- groups = [
906+ matrix = ct_group_matrix ( [
913907 "cluster_size_2" ,
914908 "cluster_size_3" ,
915- ],
909+ ]) ,
916910)
917911
918912rabbitmq_integration_suite (
@@ -922,10 +916,10 @@ rabbitmq_integration_suite(
922916 additional_beam = [
923917 ":quorum_queue_utils" ,
924918 ],
925- groups = [
919+ matrix = ct_group_matrix ( [
926920 "classic_queue" ,
927921 "quorum_queue" ,
928- ],
922+ ]) ,
929923)
930924
931925rabbitmq_integration_suite (
@@ -1157,10 +1151,10 @@ rabbitmq_integration_suite(
11571151 PACKAGE ,
11581152 name = "vhost_SUITE" ,
11591153 size = "medium" ,
1160- groups = [
1154+ matrix = ct_group_matrix ( [
11611155 "cluster_size_1_network" ,
11621156 "cluster_size_2_network" ,
11631157 "cluster_size_1_direct" ,
11641158 "cluster_size_2_direct" ,
1165- ],
1159+ ]) ,
11661160)
0 commit comments