| 
									
										
										
										
											2021-04-16 16:22:44 +08:00
										 |  |  | load("@bazel-erlang//:bazel_erlang_lib.bzl", "erlc") | 
					
						
							| 
									
										
										
										
											2021-05-19 16:54:56 +08:00
										 |  |  | load("@bazel-erlang//:xref.bzl", "xref") | 
					
						
							| 
									
										
										
										
											2021-05-28 19:27:21 +08:00
										 |  |  | load("@bazel-erlang//:dialyze.bzl", "dialyze", "plt") | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  | load("//:rabbitmq_home.bzl", "rabbitmq_home") | 
					
						
							|  |  |  | load("//:rabbitmq_run.bzl", "rabbitmq_run") | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | load( | 
					
						
							|  |  |  |     "//:rabbitmq.bzl", | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  |     "RABBITMQ_DIALYZER_OPTS", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     "RABBITMQ_ERLC_OPTS", | 
					
						
							|  |  |  |     "RABBITMQ_TEST_ERLC_OPTS", | 
					
						
							|  |  |  |     "rabbitmq_integration_suite", | 
					
						
							| 
									
										
										
										
											2021-04-16 16:28:53 +08:00
										 |  |  |     "rabbitmq_lib", | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  |     "rabbitmq_suite", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2021-05-14 16:39:03 +08:00
										 |  |  | load(":bats.bzl", "bats") | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | exports_files([ | 
					
						
							|  |  |  |     "scripts/rabbitmq-defaults", | 
					
						
							|  |  |  |     "scripts/rabbitmq-env", | 
					
						
							|  |  |  |     "scripts/rabbitmq-plugins", | 
					
						
							| 
									
										
										
										
											2021-04-13 17:45:09 +08:00
										 |  |  |     "scripts/rabbitmq-queues", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     "scripts/rabbitmq-server", | 
					
						
							|  |  |  |     "scripts/rabbitmqctl", | 
					
						
							|  |  |  | ]) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | _APP_ENV = """[
 | 
					
						
							|  |  |  | 	    {tcp_listeners, [5672]}, | 
					
						
							|  |  |  | 	    {num_tcp_acceptors, 10}, | 
					
						
							|  |  |  | 	    {ssl_listeners, []}, | 
					
						
							|  |  |  | 	    {num_ssl_acceptors, 10}, | 
					
						
							|  |  |  | 	    {ssl_options, []}, | 
					
						
							|  |  |  | 	    {vm_memory_high_watermark, 0.4}, | 
					
						
							|  |  |  | 	    {vm_memory_high_watermark_paging_ratio, 0.5}, | 
					
						
							|  |  |  | 	    {vm_memory_calculation_strategy, rss}, | 
					
						
							|  |  |  | 	    {memory_monitor_interval, 2500}, | 
					
						
							|  |  |  | 	    {disk_free_limit, 50000000}, %% 50MB | 
					
						
							|  |  |  | 	    {msg_store_index_module, rabbit_msg_store_ets_index}, | 
					
						
							|  |  |  | 	    {backing_queue_module, rabbit_variable_queue}, | 
					
						
							|  |  |  | 	    %% 0 ("no limit") would make a better default, but that | 
					
						
							|  |  |  | 	    %% breaks the QPid Java client | 
					
						
							|  |  |  | 	    {frame_max, 131072}, | 
					
						
							|  |  |  | 	    %% see rabbitmq-server#1593 | 
					
						
							|  |  |  | 	    {channel_max, 2047}, | 
					
						
							|  |  |  | 	    {connection_max, infinity}, | 
					
						
							|  |  |  | 	    {heartbeat, 60}, | 
					
						
							|  |  |  | 	    {msg_store_file_size_limit, 16777216}, | 
					
						
							|  |  |  | 	    {msg_store_shutdown_timeout, 600000}, | 
					
						
							|  |  |  | 	    {fhc_write_buffering, true}, | 
					
						
							|  |  |  | 	    {fhc_read_buffering, false}, | 
					
						
							|  |  |  | 	    {queue_index_max_journal_entries, 32768}, | 
					
						
							|  |  |  | 	    {queue_index_embed_msgs_below, 4096}, | 
					
						
							|  |  |  | 	    {default_user, <<"guest">>}, | 
					
						
							|  |  |  | 	    {default_pass, <<"guest">>}, | 
					
						
							|  |  |  | 	    {default_user_tags, [administrator]}, | 
					
						
							|  |  |  | 	    {default_vhost, <<"/">>}, | 
					
						
							|  |  |  | 	    {default_permissions, [<<".*">>, <<".*">>, <<".*">>]}, | 
					
						
							|  |  |  | 	    {loopback_users, [<<"guest">>]}, | 
					
						
							|  |  |  | 	    {password_hashing_module, rabbit_password_hashing_sha256}, | 
					
						
							|  |  |  | 	    {server_properties, []}, | 
					
						
							|  |  |  | 	    {collect_statistics, none}, | 
					
						
							|  |  |  | 	    {collect_statistics_interval, 5000}, | 
					
						
							|  |  |  | 	    {mnesia_table_loading_retry_timeout, 30000}, | 
					
						
							|  |  |  | 	    {mnesia_table_loading_retry_limit, 10}, | 
					
						
							|  |  |  | 	    {auth_mechanisms, ['PLAIN', 'AMQPLAIN']}, | 
					
						
							|  |  |  | 	    {auth_backends, [rabbit_auth_backend_internal]}, | 
					
						
							|  |  |  | 	    {delegate_count, 16}, | 
					
						
							|  |  |  | 	    {trace_vhosts, []}, | 
					
						
							|  |  |  | 	    {ssl_cert_login_from, distinguished_name}, | 
					
						
							|  |  |  | 	    {ssl_handshake_timeout, 5000}, | 
					
						
							|  |  |  | 	    {ssl_allow_poodle_attack, false}, | 
					
						
							|  |  |  | 	    {handshake_timeout, 10000}, | 
					
						
							|  |  |  | 	    {reverse_dns_lookups, false}, | 
					
						
							|  |  |  | 	    {cluster_partition_handling, ignore}, | 
					
						
							|  |  |  | 	    {cluster_keepalive_interval, 10000}, | 
					
						
							|  |  |  | 	    {autoheal_state_transition_timeout, 60000}, | 
					
						
							|  |  |  | 	    {tcp_listen_options, [{backlog,       128}, | 
					
						
							|  |  |  | 	                          {nodelay,       true}, | 
					
						
							|  |  |  | 	                          {linger,        {true, 0}}, | 
					
						
							|  |  |  | 	                          {exit_on_close, false} | 
					
						
							|  |  |  | 	                         ]}, | 
					
						
							|  |  |  | 	    {halt_on_upgrade_failure, true}, | 
					
						
							|  |  |  | 	    {ssl_apps, [asn1, crypto, public_key, ssl]}, | 
					
						
							|  |  |  | 	    %% see rabbitmq-server#114 | 
					
						
							|  |  |  | 	    {mirroring_flow_control, true}, | 
					
						
							|  |  |  | 	    {mirroring_sync_batch_size, 4096}, | 
					
						
							|  |  |  | 	    %% see rabbitmq-server#227 and related tickets. | 
					
						
							|  |  |  | 	    %% msg_store_credit_disc_bound only takes effect when | 
					
						
							|  |  |  | 	    %% messages are persisted to the message store. If messages | 
					
						
							|  |  |  | 	    %% are embedded on the queue index, then modifying this | 
					
						
							|  |  |  | 	    %% setting has no effect because credit_flow is not used when | 
					
						
							|  |  |  | 	    %% writing to the queue index. See the setting | 
					
						
							|  |  |  | 	    %% queue_index_embed_msgs_below above. | 
					
						
							|  |  |  | 	    {msg_store_credit_disc_bound, {4000, 800}}, | 
					
						
							|  |  |  | 	    {msg_store_io_batch_size, 4096}, | 
					
						
							|  |  |  | 	    %% see rabbitmq-server#143, | 
					
						
							|  |  |  | 	    %% rabbitmq-server#949, rabbitmq-server#1098 | 
					
						
							|  |  |  | 	    {credit_flow_default_credit, {400, 200}}, | 
					
						
							|  |  |  | 	    {quorum_commands_soft_limit, 32}, | 
					
						
							| 
									
										
										
										
											2021-03-30 16:44:55 +08:00
										 |  |  | 	    {quorum_cluster_size, 3}, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | 	    %% see rabbitmq-server#248 | 
					
						
							|  |  |  | 	    %% and rabbitmq-server#667 | 
					
						
							|  |  |  | 	    {channel_operation_timeout, 15000}, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	    %% see rabbitmq-server#486 | 
					
						
							|  |  |  | 	    {autocluster, | 
					
						
							|  |  |  |               [{peer_discovery_backend, rabbit_peer_discovery_classic_config}] | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  | 	    %% used by rabbit_peer_discovery_classic_config | 
					
						
							|  |  |  | 	    {cluster_nodes, {[], disc}}, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	    {config_entry_decoder, [{passphrase, undefined}]}, | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	    %% rabbitmq-server#973 | 
					
						
							|  |  |  | 	    {queue_explicit_gc_run_operation_threshold, 1000}, | 
					
						
							|  |  |  | 	    {lazy_queue_explicit_gc_run_operation_threshold, 1000}, | 
					
						
							|  |  |  | 	    {background_gc_enabled, false}, | 
					
						
							|  |  |  | 	    {background_gc_target_interval, 60000}, | 
					
						
							|  |  |  | 	    %% rabbitmq-server#589 | 
					
						
							|  |  |  | 	    {proxy_protocol, false}, | 
					
						
							|  |  |  | 	    {disk_monitor_failure_retries, 10}, | 
					
						
							|  |  |  | 	    {disk_monitor_failure_retry_interval, 120000}, | 
					
						
							|  |  |  | 	    %% either "stop_node" or "continue". | 
					
						
							|  |  |  | 	    %% by default we choose to not terminate the entire node if one | 
					
						
							|  |  |  | 	    %% vhost had to shut down, see server#1158 and server#1280 | 
					
						
							|  |  |  | 	    {vhost_restart_strategy, continue}, | 
					
						
							|  |  |  | 	    %% {global, prefetch count} | 
					
						
							|  |  |  | 	    {default_consumer_prefetch, {false, 0}}, | 
					
						
							|  |  |  | 		%% interval at which the channel can perform periodic actions | 
					
						
							|  |  |  | 	    {channel_tick_interval, 60000}, | 
					
						
							|  |  |  | 	    %% Default max message size is 128 MB | 
					
						
							|  |  |  | 	    {max_message_size, 134217728}, | 
					
						
							|  |  |  | 	    %% Socket writer will run GC every 1 GB of outgoing data | 
					
						
							|  |  |  | 	    {writer_gc_threshold, 1000000000}, | 
					
						
							|  |  |  | 	    %% interval at which connection/channel tracking executes post operations | 
					
						
							|  |  |  | 	    {tracking_execution_timeout, 15000}, | 
					
						
							|  |  |  | 	    {stream_messages_soft_limit, 256}, | 
					
						
							| 
									
										
										
										
											2021-04-07 20:45:43 +08:00
										 |  |  |         {track_auth_attempt_source, false} | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | 	  ] | 
					
						
							|  |  |  | """
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | DEPS = [ | 
					
						
							|  |  |  |     "//deps/amqp10_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@ra//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@ranch//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@stdout_formatter//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@syslog//:bazel_erlang_lib", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RUNTIME_DEPS = [ | 
					
						
							|  |  |  |     "//deps/rabbit/apps/rabbitmq_prelaunch:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@cuttlefish//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@observer_cli//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@osiris//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@recon//:bazel_erlang_lib", | 
					
						
							|  |  |  |     "@sysmon_handler//:bazel_erlang_lib", | 
					
						
							| 
									
										
										
										
											2021-04-09 21:53:51 +08:00
										 |  |  |     "@systemd//:bazel_erlang_lib", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-19 16:54:56 +08:00
										 |  |  | APP_MODULE = "rabbit" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | APP_REGISTERED = [ | 
					
						
							|  |  |  |     "rabbit_amqqueue_sup", | 
					
						
							|  |  |  |     "rabbit_direct_client_sup", | 
					
						
							|  |  |  |     "rabbit_log", | 
					
						
							|  |  |  |     "rabbit_node_monitor", | 
					
						
							|  |  |  |     "rabbit_router", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | EXTRA_APPS = [ | 
					
						
							|  |  |  |     "sasl", | 
					
						
							|  |  |  |     "rabbitmq_prelaunch", | 
					
						
							|  |  |  |     "os_mon", | 
					
						
							|  |  |  |     "inets", | 
					
						
							|  |  |  |     "compiler", | 
					
						
							|  |  |  |     "public_key", | 
					
						
							|  |  |  |     "crypto", | 
					
						
							|  |  |  |     "ssl", | 
					
						
							|  |  |  |     "syntax_tools", | 
					
						
							|  |  |  |     "xmerl", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | FIRST_SRCS = [ | 
					
						
							|  |  |  |     "src/rabbit_tracking.erl", | 
					
						
							|  |  |  |     "src/rabbit_queue_type.erl", | 
					
						
							|  |  |  |     "src/rabbit_credential_validator.erl", | 
					
						
							|  |  |  |     "src/rabbit_policy_merge_strategy.erl", | 
					
						
							|  |  |  |     "src/rabbit_queue_master_locator.erl", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-31 15:03:28 +08:00
										 |  |  | EXTRA_ERLC_OPTS = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     "-DINSTR_MOD=gm", | 
					
						
							|  |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-16 16:22:44 +08:00
										 |  |  | rabbitmq_lib( | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     app_description = "RabbitMQ", | 
					
						
							|  |  |  |     app_env = _APP_ENV, | 
					
						
							| 
									
										
										
										
											2021-05-19 16:54:56 +08:00
										 |  |  |     app_module = APP_MODULE, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     app_name = "rabbit", | 
					
						
							|  |  |  |     app_registered = APP_REGISTERED, | 
					
						
							| 
									
										
										
										
											2021-03-31 15:03:28 +08:00
										 |  |  |     erlc_opts = RABBITMQ_ERLC_OPTS + EXTRA_ERLC_OPTS, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     extra_apps = EXTRA_APPS, | 
					
						
							|  |  |  |     first_srcs = FIRST_SRCS, | 
					
						
							| 
									
										
										
										
											2021-04-16 16:28:53 +08:00
										 |  |  |     test_erlc_opts = RABBITMQ_TEST_ERLC_OPTS + EXTRA_ERLC_OPTS, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     runtime_deps = RUNTIME_DEPS, | 
					
						
							|  |  |  |     deps = DEPS, | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-21 18:02:50 +08:00
										 |  |  | xref(tags = ["xref"]) | 
					
						
							| 
									
										
										
										
											2021-05-19 16:54:56 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-28 19:27:21 +08:00
										 |  |  | plt_apps = [ | 
					
						
							|  |  |  |     "mnesia", | 
					
						
							|  |  |  | ] + EXTRA_APPS | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | plt_apps.remove("rabbitmq_prelaunch") | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | plt( | 
					
						
							|  |  |  |     name = "base_plt", | 
					
						
							|  |  |  |     apps = plt_apps, | 
					
						
							|  |  |  |     plt = "//:base_plt", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dialyze( | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  |     dialyzer_opts = RABBITMQ_DIALYZER_OPTS, | 
					
						
							| 
									
										
										
										
											2021-05-28 19:27:21 +08:00
										 |  |  |     plt = ":base_plt", | 
					
						
							|  |  |  |     tags = ["dialyze"], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-14 16:39:03 +08:00
										 |  |  | bats( | 
					
						
							|  |  |  |     srcs = glob(["test/**/*.bats"]), | 
					
						
							|  |  |  |     data = glob( | 
					
						
							|  |  |  |         ["scripts/*"], | 
					
						
							|  |  |  |         exclude = ["scripts/*.bat"], | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  | rabbitmq_home( | 
					
						
							|  |  |  |     name = "broker-for-tests-home", | 
					
						
							|  |  |  |     testonly = True, | 
					
						
							|  |  |  |     plugins = [ | 
					
						
							|  |  |  |         ":test_bazel_erlang_lib", | 
					
						
							|  |  |  |         "@rabbitmq_ct_client_helpers//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@inet_tcp_proxy//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_run( | 
					
						
							|  |  |  |     name = "rabbitmq-for-tests-run", | 
					
						
							|  |  |  |     testonly = True, | 
					
						
							|  |  |  |     home = ":broker-for-tests-home", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | erlc( | 
					
						
							|  |  |  |     name = "quorum_queue_utils", | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     srcs = [ | 
					
						
							|  |  |  |         "test/quorum_queue_utils.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     dest = "test", | 
					
						
							| 
									
										
										
										
											2021-05-12 18:37:08 +08:00
										 |  |  |     erlc_opts = RABBITMQ_TEST_ERLC_OPTS, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | erlc( | 
					
						
							|  |  |  |     name = "rabbit_ha_test_consumer", | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     srcs = [ | 
					
						
							|  |  |  |         "test/rabbit_ha_test_consumer.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     dest = "test", | 
					
						
							| 
									
										
										
										
											2021-05-12 18:37:08 +08:00
										 |  |  |     erlc_opts = RABBITMQ_TEST_ERLC_OPTS, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/amqp_client:bazel_erlang_lib", | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | erlc( | 
					
						
							|  |  |  |     name = "rabbit_ha_test_producer", | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     testonly = True, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     srcs = [ | 
					
						
							|  |  |  |         "test/rabbit_ha_test_producer.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     dest = "test", | 
					
						
							| 
									
										
										
										
											2021-05-12 18:37:08 +08:00
										 |  |  |     erlc_opts = RABBITMQ_TEST_ERLC_OPTS, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/amqp_client:bazel_erlang_lib", | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-12 18:37:08 +08:00
										 |  |  | erlc( | 
					
						
							|  |  |  |     name = "test_util", | 
					
						
							|  |  |  |     testonly = True, | 
					
						
							|  |  |  |     srcs = [ | 
					
						
							|  |  |  |         "test/test_util.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     dest = "test", | 
					
						
							|  |  |  |     erlc_opts = RABBITMQ_TEST_ERLC_OPTS, | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "amqqueue_backward_compatibility_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  | PACKAGE = "deps/rabbit" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							|  |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "backing_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "channel_interceptor_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/dummy_interceptor.erl", | 
					
						
							|  |  |  |         "test/failing_dummy_interceptor.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "channel_operation_timeout_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/channel_operation_timeout_test_queue.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "cluster_rename_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     groups = [ | 
					
						
							|  |  |  |         "cluster_size_2", | 
					
						
							|  |  |  |         "cluster_size_3", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "cluster_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "clustering_management_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							| 
									
										
										
										
											2021-05-19 05:16:16 +08:00
										 |  |  |     groups = [ | 
					
						
							|  |  |  |         "unclustered_2_nodes", | 
					
						
							|  |  |  |         "unclustered_3_nodes", | 
					
						
							|  |  |  |         "clustered_2_nodes", | 
					
						
							|  |  |  |         "clustered_4_nodes", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "config_schema_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     data = [ | 
					
						
							|  |  |  |         "test/definition_import_SUITE_data/case1.json", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "confirms_rejects_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "consumer_timeout_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "crashing_queues_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "dead_lettering_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "definition_import_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "disconnect_detected_during_alarm_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "dynamic_ha_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							| 
									
										
										
										
											2021-04-14 16:02:06 +08:00
										 |  |  |     groups = { | 
					
						
							|  |  |  |         "cluster_size_5": [ | 
					
						
							|  |  |  |             "change_cluster", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |         "cluster_size_2": [ | 
					
						
							|  |  |  |             "vhost_deletion", | 
					
						
							|  |  |  |             "force_delete_if_no_master", | 
					
						
							|  |  |  |             "promote_on_shutdown", | 
					
						
							|  |  |  |             "promote_on_failure", | 
					
						
							|  |  |  |             "follower_recovers_after_vhost_failure", | 
					
						
							|  |  |  |             "follower_recovers_after_vhost_down_and_up", | 
					
						
							|  |  |  |             "master_migrates_on_vhost_down", | 
					
						
							|  |  |  |             "follower_recovers_after_vhost_down_and_master_migrated", | 
					
						
							|  |  |  |             "queue_survive_adding_dead_vhost_mirror", | 
					
						
							|  |  |  |             "dynamic_mirroring", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |         "cluster_size_3": [ | 
					
						
							|  |  |  |             "change_policy", | 
					
						
							|  |  |  |             "rapid_change", | 
					
						
							|  |  |  |             "nodes_policy_should_pick_master_from_its_params", | 
					
						
							|  |  |  |             "promote_follower_after_standalone_restart", | 
					
						
							|  |  |  |             "queue_survive_adding_dead_vhost_mirror", | 
					
						
							|  |  |  |             "rebalance_all", | 
					
						
							|  |  |  |             "rebalance_exactly", | 
					
						
							|  |  |  |             "rebalance_nodes", | 
					
						
							|  |  |  |             "rebalance_multiple_blocked", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "dynamic_qq_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "eager_sync_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":sync_detection_SUITE_beam_files", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-03-31 21:47:36 +08:00
										 |  |  |     groups = { | 
					
						
							|  |  |  |         "non_parallel_tests": [ | 
					
						
							| 
									
										
										
										
											2021-04-01 01:11:32 +08:00
										 |  |  |             { | 
					
						
							|  |  |  |                 "case": "eager_sync", | 
					
						
							|  |  |  |                 "flaky": True, | 
					
						
							|  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2021-03-31 21:47:36 +08:00
										 |  |  |             "eager_sync_cancel", | 
					
						
							|  |  |  |             "eager_sync_auto", | 
					
						
							|  |  |  |             "eager_sync_auto_on_policy_change", | 
					
						
							|  |  |  |             "eager_sync_requeue", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-04-01 01:09:46 +08:00
										 |  |  |     tags = ["classic-queue"], | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "feature_flags_SUITE", | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |     matrix = { | 
					
						
							|  |  |  |         "registry": { | 
					
						
							|  |  |  |             "groups": ["registry"], | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-16 15:17:21 +08:00
										 |  |  |         "enabling_on_single_node-enable_feature_flag_in_a_healthy_situation": { | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |             "groups": ["enabling_on_single_node"], | 
					
						
							| 
									
										
										
										
											2021-04-16 15:17:21 +08:00
										 |  |  |             "cases": ["enable_feature_flag_in_a_healthy_situation"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "enabling_on_single_node-enable_unsupported_feature_flag_in_a_healthy_situation": { | 
					
						
							|  |  |  |             "groups": ["enabling_on_single_node"], | 
					
						
							|  |  |  |             "cases": ["enable_unsupported_feature_flag_in_a_healthy_situation"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "enabling_on_single_node-enable_feature_flag_when_ff_file_is_unwritable": { | 
					
						
							|  |  |  |             "groups": ["enabling_on_single_node"], | 
					
						
							|  |  |  |             "cases": ["enable_feature_flag_when_ff_file_is_unwritable"], | 
					
						
							| 
									
										
										
										
											2021-04-12 22:33:29 +08:00
										 |  |  |             # The enabling_* tests chmod files and then expect writes to be blocked. | 
					
						
							|  |  |  |             # This probably doesn't work because we are root in the remote docker image. | 
					
						
							|  |  |  |             "tags": ["exclusive"], | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-16 15:17:21 +08:00
										 |  |  |         "enabling_in_cluster-enable_feature_flag_in_a_healthy_situation": { | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |             "groups": ["enabling_in_cluster"], | 
					
						
							| 
									
										
										
										
											2021-04-16 15:17:21 +08:00
										 |  |  |             "cases": ["enable_feature_flag_in_a_healthy_situation"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "enabling_in_cluster-enable_unsupported_feature_flag_in_a_healthy_situation": { | 
					
						
							|  |  |  |             "groups": ["enabling_in_cluster"], | 
					
						
							|  |  |  |             "cases": ["enable_unsupported_feature_flag_in_a_healthy_situation"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "enabling_in_cluster-enable_feature_flag_when_ff_file_is_unwritable": { | 
					
						
							|  |  |  |             "groups": ["enabling_in_cluster"], | 
					
						
							|  |  |  |             "cases": ["enable_feature_flag_when_ff_file_is_unwritable"], | 
					
						
							| 
									
										
										
										
											2021-04-16 16:29:14 +08:00
										 |  |  |             "flaky": True, | 
					
						
							| 
									
										
										
										
											2021-04-12 22:33:29 +08:00
										 |  |  |             # The enabling_* tests chmod files and then expect writes to be blocked. | 
					
						
							|  |  |  |             # This probably doesn't work because we are root in the remote docker image. | 
					
						
							|  |  |  |             "tags": ["exclusive"], | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-16 15:17:21 +08:00
										 |  |  |         "enabling_in_cluster-enable_feature_flag_with_a_network_partition": { | 
					
						
							|  |  |  |             "groups": ["enabling_in_cluster"], | 
					
						
							|  |  |  |             "cases": ["enable_feature_flag_with_a_network_partition"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "enabling_in_cluster-mark_feature_flag_as_enabled_with_a_network_partition": { | 
					
						
							|  |  |  |             "groups": ["enabling_in_cluster"], | 
					
						
							|  |  |  |             "cases": ["mark_feature_flag_as_enabled_with_a_network_partition"], | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |         "clustering": { | 
					
						
							|  |  |  |             "groups": ["clustering"], | 
					
						
							| 
									
										
										
										
											2021-04-09 20:18:01 +08:00
										 |  |  |             "flaky": True, | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |         }, | 
					
						
							|  |  |  |         "activating_plugin": { | 
					
						
							|  |  |  |             "groups": ["activating_plugin"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit/test/feature_flags_SUITE_data/my_plugin:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "lazy_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "list_consumers_sanity_check_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "list_queues_online_and_offline_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "maintenance_mode_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "many_node_ha_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":rabbit_ha_test_consumer", | 
					
						
							|  |  |  |         ":rabbit_ha_test_producer", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "message_size_limit_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "metrics_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "mirrored_supervisor_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/mirrored_supervisor_SUITE_gs.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "msg_store_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "peer_discovery_classic_config_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							| 
									
										
										
										
											2021-04-13 01:18:22 +08:00
										 |  |  |     groups = { | 
					
						
							|  |  |  |         "non_parallel": [ | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 "case": "successful_discovery", | 
					
						
							|  |  |  |                 "flaky": True, | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             { | 
					
						
							|  |  |  |                 "case": "successful_discovery_with_a_subset_of_nodes_coming_online", | 
					
						
							|  |  |  |                 "flaky": True, | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             "no_nodes_configured", | 
					
						
							|  |  |  |         ], | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "peer_discovery_dns_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_user_connection_channel_limit_partitions_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_user_connection_channel_limit_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_user_connection_channel_tracking_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_user_connection_tracking_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_vhost_connection_limit_partitions_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_vhost_connection_limit_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_vhost_msg_store_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "per_vhost_queue_limit_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "policy_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "priority_queue_recovery_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "priority_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "product_info_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "proxy_protocol_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "publisher_confirms_parallel_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "queue_length_limits_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "queue_master_location_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "queue_parallel_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     groups = [ | 
					
						
							|  |  |  |         "classic_queue", | 
					
						
							|  |  |  |         "mirrored_queue", | 
					
						
							|  |  |  |         "quorum_queue", | 
					
						
							|  |  |  |         "quorum_queue_in_memory_limit", | 
					
						
							|  |  |  |         "quorum_queue_in_memory_bytes", | 
					
						
							|  |  |  |         "stream_queue", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "queue_type_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "quorum_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |     matrix = { | 
					
						
							|  |  |  |         "single_node": { | 
					
						
							|  |  |  |             "groups": ["single_node"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "unclustered": { | 
					
						
							|  |  |  |             "groups": ["unclustered"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "clustered-cluster_size_2": { | 
					
						
							|  |  |  |             "groups": ["cluster_size_2"], | 
					
						
							| 
									
										
										
										
											2021-04-12 18:06:55 +08:00
										 |  |  |             "flaky": True, | 
					
						
							| 
									
										
										
										
											2021-04-08 21:33:19 +08:00
										 |  |  |         }, | 
					
						
							|  |  |  |         "clustered-cluster_size_3": { | 
					
						
							|  |  |  |             "groups": ["cluster_size_3"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "clustered-cluster_size_5": { | 
					
						
							|  |  |  |             "groups": ["cluster_size_5"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "clustered-clustered_with_partitions": { | 
					
						
							|  |  |  |             "groups": ["clustered_with_partitions"], | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_confirms_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_core_metrics_gc_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_fifo_int_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@aten//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@gen_batch_server//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							| 
									
										
										
										
											2021-03-31 15:03:28 +08:00
										 |  |  |         "@ra//:bazel_erlang_lib", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_fifo_prop_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":test_util", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     additional_hdrs = [ | 
					
						
							|  |  |  |         "src/rabbit_fifo.hrl", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  |     erlc_opts = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "-I deps/rabbit",  # allow rabbit_fifo.hrl to be included at src/rabbit_fifo.hrl | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@ra//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_fifo_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":test_util", | 
					
						
							|  |  |  |         ":rabbit_fifo_v0_SUITE_beam_files", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     additional_hdrs = [ | 
					
						
							|  |  |  |         "src/rabbit_fifo.hrl", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  |     erlc_opts = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "-I deps/rabbit",  # allow rabbit_fifo.hrl to be included at src/rabbit_fifo.hrl | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@ra//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_fifo_v0_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":test_util", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     additional_hdrs = [ | 
					
						
							|  |  |  |         "src/rabbit_fifo_v0.hrl", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  |     erlc_opts = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "-I deps/rabbit",  # allow rabbit_fifo.hrl to be included at src/rabbit_fifo.hrl | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@ra//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_msg_record_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/amqp10_common:bazel_erlang_lib", | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbit_stream_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							| 
									
										
										
										
											2021-04-15 23:43:14 +08:00
										 |  |  |     matrix = { | 
					
						
							|  |  |  |         "single_node": {"groups": ["single_node"]}, | 
					
						
							|  |  |  |         "single_node_parallel": {"groups": ["single_node_parallel"]}, | 
					
						
							|  |  |  |         "cluster_size_2": {"groups": ["cluster_size_2"]}, | 
					
						
							|  |  |  |         "cluster_size_2_parallel": {"groups": ["cluster_size_2_parallel"]}, | 
					
						
							| 
									
										
										
										
											2021-05-20 00:03:23 +08:00
										 |  |  |         "cluster_size_3": { | 
					
						
							|  |  |  |             "groups": ["cluster_size_3"], | 
					
						
							|  |  |  |             "flaky": True, | 
					
						
							|  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-15 23:43:14 +08:00
										 |  |  |         "cluster_size_3_parallel": { | 
					
						
							|  |  |  |             "groups": ["cluster_size_3_parallel"], | 
					
						
							|  |  |  |             "flaky": True, | 
					
						
							|  |  |  |         }, | 
					
						
							|  |  |  |         "unclustered_size_3_1": {"groups": ["unclustered_size_3_1"]}, | 
					
						
							|  |  |  |         "unclustered_size_3_2": {"groups": ["unclustered_size_3_2"]}, | 
					
						
							|  |  |  |         "unclustered_size_3_3": {"groups": ["unclustered_size_3_3"]}, | 
					
						
							|  |  |  |         "cluster_size_3_1": {"groups": ["cluster_size_3_1"]}, | 
					
						
							|  |  |  |     }, | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbitmq_queues_cli_integration_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbitmqctl_integration_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "rabbitmqctl_shutdown_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "signal_handling_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "simple_ha_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "large", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":rabbit_ha_test_consumer", | 
					
						
							|  |  |  |         ":rabbit_ha_test_producer", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     groups = [ | 
					
						
							|  |  |  |         "cluster_size_2", | 
					
						
							|  |  |  |         "cluster_size_3", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "single_active_consumer_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_beam = [ | 
					
						
							|  |  |  |         ":quorum_queue_utils", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  |     groups = [ | 
					
						
							|  |  |  |         "classic_queue", | 
					
						
							|  |  |  |         "quorum_queue", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "sync_detection_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_integration_suite( | 
					
						
							|  |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "term_to_binary_compat_prop_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     deps = [ | 
					
						
							|  |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "topic_permission_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_access_control_authn_authz_context_propagation_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/rabbit_auth_backend_context_propagation_mock.erl", | 
					
						
							|  |  |  |         "test/rabbit_foo_protocol_connection_info.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_access_control_credential_validation_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     deps = [ | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |         "@proper//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_access_control_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/rabbit_dummy_protocol_connection_info.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_amqp091_content_framing_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_amqp091_server_properties_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_app_management_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_cluster_formation_locking_mocks_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_collections_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_config_value_encryption_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit/apps/rabbitmq_prelaunch:test_bazel_erlang_lib", | 
					
						
							|  |  |  |         "//deps/rabbit_common:test_bazel_erlang_lib", | 
					
						
							|  |  |  |         "@credentials_obfuscation//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_connection_tracking_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_credit_flow_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_disk_monitor_mocks_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_disk_monitor_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_file_handle_cache_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_gen_server2_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_gm_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     runtime_deps = [ | 
					
						
							|  |  |  |         "@meck//:bazel_erlang_lib", | 
					
						
							|  |  |  |         "@rabbitmq_ct_helpers//:bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_log_management_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_operator_policy_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:test_bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_pg_local_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_plugin_directories_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     deps = [ | 
					
						
							|  |  |  |         "//deps/rabbit_common:test_bazel_erlang_lib", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_integration_suite( | 
					
						
							|  |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_plugin_versioning_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_policy_validators_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_priority_queue_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_queue_consumers_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_stats_and_metrics_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/dummy_event_receiver.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-11 16:44:28 +08:00
										 |  |  | rabbitmq_suite( | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_supervisor2_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  |     additional_srcs = [ | 
					
						
							|  |  |  |         "test/dummy_supervisor2.erl", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "unit_vm_memory_monitor_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "small", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "upgrade_preparation_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rabbitmq_integration_suite( | 
					
						
							| 
									
										
										
										
											2021-05-10 23:38:03 +08:00
										 |  |  |     PACKAGE, | 
					
						
							| 
									
										
										
										
											2021-04-08 18:07:38 +08:00
										 |  |  |     name = "vhost_SUITE", | 
					
						
							| 
									
										
										
										
											2021-03-29 17:01:43 +08:00
										 |  |  |     size = "medium", | 
					
						
							|  |  |  |     groups = [ | 
					
						
							|  |  |  |         "cluster_size_1_network", | 
					
						
							|  |  |  |         "cluster_size_2_network", | 
					
						
							|  |  |  |         "cluster_size_1_direct", | 
					
						
							|  |  |  |         "cluster_size_2_direct", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) |