@@ -236,15 +236,19 @@ define ct_master.erl
236236 {ok, Pid2, _} = peer:start(StartOpts# {name => "rabbit_shard2"}),
237237 {ok, Pid3, _} = peer:start(StartOpts# {name => "rabbit_shard3"}),
238238 {ok, Pid4, _} = peer:start(StartOpts# {name => "rabbit_shard4"}),
239+ {ok, Pid5, _} = peer:start(StartOpts# {name => "rabbit_shard5"}),
239240 peer:call(Pid1, net_kernel, set_net_ticktime, [5]),
240241 peer:call(Pid2, net_kernel, set_net_ticktime, [5]),
241242 peer:call(Pid3, net_kernel, set_net_ticktime, [5]),
242243 peer:call(Pid4, net_kernel, set_net_ticktime, [5]),
244+ peer:call(Pid5, net_kernel, set_net_ticktime, [5]),
243245 peer:call(Pid1, persistent_term, put, [rabbit_ct_tcp_port_base, 16000]),
244246 peer:call(Pid2, persistent_term, put, [rabbit_ct_tcp_port_base, 20000]),
245247 peer:call(Pid3, persistent_term, put, [rabbit_ct_tcp_port_base, 24000]),
246248 peer:call(Pid4, persistent_term, put, [rabbit_ct_tcp_port_base, 28000]),
249+ peer:call(Pid5, persistent_term, put, [rabbit_ct_tcp_port_base, 32000]),
247250 [{[_], {ok, Results}}] = ct_master_fork:run("$1"),
251+ peer:stop(Pid5),
248252 peer:stop(Pid4),
249253 peer:stop(Pid3),
250254 peer:stop(Pid2),
@@ -258,7 +262,7 @@ endef
258262
259263PARALLEL_CT_SET_1_A = unit_rabbit_ssl unit_cluster_formation_locking_mocks unit_cluster_formation_sort_nodes unit_collections unit_config_value_encryption unit_connection_tracking
260264PARALLEL_CT_SET_1_B = amqp_address amqp_auth amqp_credit_api_v2 amqp_filter_prop amqp_filter_sql amqp_filter_sql_unit amqp_dotnet amqp_jms signal_handling single_active_consumer unit_access_control_authn_authz_context_propagation unit_access_control_credential_validation unit_amqp091_content_framing unit_amqp091_server_properties unit_app_management
261- PARALLEL_CT_SET_1_C = amqp_proxy_protocol amqpl_consumer_ack amqpl_direct_reply_to backing_queue bindings rabbit_db_maintenance rabbit_db_msup rabbit_db_policy rabbit_db_queue rabbit_db_topic_exchange rabbit_direct_reply_to_prop cluster_limit cluster_minority term_to_binary_compat_prop topic_permission transactions unicode unit_access_control
265+ PARALLEL_CT_SET_1_C = amqp_proxy_protocol amqpl_consumer_ack backing_queue bindings rabbit_db_maintenance rabbit_db_msup rabbit_db_policy rabbit_db_queue rabbit_db_topic_exchange cluster_limit cluster_minority term_to_binary_compat_prop topic_permission transactions unicode unit_access_control
262266PARALLEL_CT_SET_1_D = amqqueue_backward_compatibility channel_interceptor channel_operation_timeout classic_queue classic_queue_prop config_schema peer_discovery_dns peer_discovery_tmp_hidden_node per_node_limit per_user_connection_channel_limit
263267
264268PARALLEL_CT_SET_2_A = cluster confirms_rejects consumer_timeout rabbit_access_control rabbit_confirms rabbit_core_metrics_gc rabbit_cuttlefish rabbit_db_binding rabbit_db_exchange
@@ -276,13 +280,16 @@ PARALLEL_CT_SET_4_B = per_user_connection_tracking per_vhost_connection_limit ra
276280PARALLEL_CT_SET_4_C = msg_size_metrics unit_msg_size_metrics per_vhost_msg_store per_vhost_queue_limit priority_queue upgrade_preparation vhost
277281PARALLEL_CT_SET_4_D = per_user_connection_channel_tracking product_info publisher_confirms_parallel queue_type rabbitmq_queues_cli_integration rabbitmqctl_integration rabbitmqctl_shutdown routing rabbit_amqqueue
278282
283+ PARALLEL_CT_SET_5_A = rabbit_direct_reply_to_prop direct_reply_to_amqpl direct_reply_to_amqp
284+
279285PARALLEL_CT_SET_1 = $(sort $(PARALLEL_CT_SET_1_A ) $(PARALLEL_CT_SET_1_B ) $(PARALLEL_CT_SET_1_C ) $(PARALLEL_CT_SET_1_D ) )
280286PARALLEL_CT_SET_2 = $(sort $(PARALLEL_CT_SET_2_A ) $(PARALLEL_CT_SET_2_B ) $(PARALLEL_CT_SET_2_C ) $(PARALLEL_CT_SET_2_D ) )
281287PARALLEL_CT_SET_3 = $(sort $(PARALLEL_CT_SET_3_A ) $(PARALLEL_CT_SET_3_B ) $(PARALLEL_CT_SET_3_C ) $(PARALLEL_CT_SET_3_D ) )
282288PARALLEL_CT_SET_4 = $(sort $(PARALLEL_CT_SET_4_A ) $(PARALLEL_CT_SET_4_B ) $(PARALLEL_CT_SET_4_C ) $(PARALLEL_CT_SET_4_D ) )
289+ PARALLEL_CT_SET_5 = $(PARALLEL_CT_SET_5_A )
283290
284291SEQUENTIAL_CT_SUITES = amqp_client clustering_management dead_lettering feature_flags metadata_store_clustering quorum_queue rabbit_stream_queue rabbit_fifo_prop
285- PARALLEL_CT_SUITES = $(PARALLEL_CT_SET_1 ) $(PARALLEL_CT_SET_2 ) $(PARALLEL_CT_SET_3 ) $(PARALLEL_CT_SET_4 )
292+ PARALLEL_CT_SUITES = $(PARALLEL_CT_SET_1 ) $(PARALLEL_CT_SET_2 ) $(PARALLEL_CT_SET_3 ) $(PARALLEL_CT_SET_4 ) $( PARALLEL_CT_SET_5 )
286293
287294ifeq ($(filter-out $(SEQUENTIAL_CT_SUITES ) $(PARALLEL_CT_SUITES ) ,$(CT_SUITES ) ) ,)
288295parallel-ct-sanity-check :
@@ -308,16 +315,19 @@ define tpl_parallel_ct_test_spec
308315{node, shard2, 'rabbit_shard2@localhost'}.
309316{node, shard3, 'rabbit_shard3@localhost'}.
310317{node, shard4, 'rabbit_shard4@localhost'}.
318+ {node, shard5, 'rabbit_shard5@localhost'}.
311319
312320{define, 'Set1', [$(call comma_list,$(addsuffix _SUITE,$1) ) ]}.
313321{define, 'Set2', [$(call comma_list,$(addsuffix _SUITE,$2) ) ]}.
314322{define, 'Set3', [$(call comma_list,$(addsuffix _SUITE,$3) ) ]}.
315323{define, 'Set4', [$(call comma_list,$(addsuffix _SUITE,$4) ) ]}.
324+ {define, 'Set5', [$(call comma_list,$(addsuffix _SUITE,$5) ) ]}.
316325
317326{suites, shard1, "test/", 'Set1'}.
318327{suites, shard2, "test/", 'Set2'}.
319328{suites, shard3, "test/", 'Set3'}.
320329{suites, shard4, "test/", 'Set4'}.
330+ {suites, shard5, "test/", 'Set5'}.
321331endef
322332
323333define parallel_ct_set_target
@@ -330,7 +340,7 @@ parallel-ct-set-$(1): test-build
330340 $$(call erlang,$$(call ct_master.erl,ct.set-$(1 ) .spec) ,-sname parallel_ct_$(PROJECT ) @localhost -hidden -kernel net_ticktime 5)
331341endef
332342
333- $(foreach set,1 2 3 4,$(eval $(call parallel_ct_set_target,$(set))))
343+ $(foreach set,1 2 3 4 5 ,$(eval $(call parallel_ct_set_target,$(set))))
334344
335345# --------------------------------------------------------------------
336346# Compilation.
0 commit comments