@@ -236,15 +236,19 @@ define ct_master.erl
236
236
{ok, Pid2, _} = peer:start(StartOpts# {name => "rabbit_shard2"}),
237
237
{ok, Pid3, _} = peer:start(StartOpts# {name => "rabbit_shard3"}),
238
238
{ok, Pid4, _} = peer:start(StartOpts# {name => "rabbit_shard4"}),
239
+ {ok, Pid5, _} = peer:start(StartOpts# {name => "rabbit_shard5"}),
239
240
peer:call(Pid1, net_kernel, set_net_ticktime, [5]),
240
241
peer:call(Pid2, net_kernel, set_net_ticktime, [5]),
241
242
peer:call(Pid3, net_kernel, set_net_ticktime, [5]),
242
243
peer:call(Pid4, net_kernel, set_net_ticktime, [5]),
244
+ peer:call(Pid5, net_kernel, set_net_ticktime, [5]),
243
245
peer:call(Pid1, persistent_term, put, [rabbit_ct_tcp_port_base, 16000]),
244
246
peer:call(Pid2, persistent_term, put, [rabbit_ct_tcp_port_base, 20000]),
245
247
peer:call(Pid3, persistent_term, put, [rabbit_ct_tcp_port_base, 24000]),
246
248
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]),
247
250
[{[_], {ok, Results}}] = ct_master_fork:run("$1"),
251
+ peer:stop(Pid5),
248
252
peer:stop(Pid4),
249
253
peer:stop(Pid3),
250
254
peer:stop(Pid2),
@@ -258,7 +262,7 @@ endef
258
262
259
263
PARALLEL_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
260
264
PARALLEL_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
262
266
PARALLEL_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
263
267
264
268
PARALLEL_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
276
280
PARALLEL_CT_SET_4_C = msg_size_metrics unit_msg_size_metrics per_vhost_msg_store per_vhost_queue_limit priority_queue upgrade_preparation vhost
277
281
PARALLEL_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
278
282
283
+ PARALLEL_CT_SET_5_A = rabbit_direct_reply_to_prop direct_reply_to_amqpl direct_reply_to_amqp
284
+
279
285
PARALLEL_CT_SET_1 = $(sort $(PARALLEL_CT_SET_1_A ) $(PARALLEL_CT_SET_1_B ) $(PARALLEL_CT_SET_1_C ) $(PARALLEL_CT_SET_1_D ) )
280
286
PARALLEL_CT_SET_2 = $(sort $(PARALLEL_CT_SET_2_A ) $(PARALLEL_CT_SET_2_B ) $(PARALLEL_CT_SET_2_C ) $(PARALLEL_CT_SET_2_D ) )
281
287
PARALLEL_CT_SET_3 = $(sort $(PARALLEL_CT_SET_3_A ) $(PARALLEL_CT_SET_3_B ) $(PARALLEL_CT_SET_3_C ) $(PARALLEL_CT_SET_3_D ) )
282
288
PARALLEL_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 )
283
290
284
291
SEQUENTIAL_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 )
286
293
287
294
ifeq ($(filter-out $(SEQUENTIAL_CT_SUITES ) $(PARALLEL_CT_SUITES ) ,$(CT_SUITES ) ) ,)
288
295
parallel-ct-sanity-check :
@@ -308,16 +315,19 @@ define tpl_parallel_ct_test_spec
308
315
{node, shard2, 'rabbit_shard2@localhost'}.
309
316
{node, shard3, 'rabbit_shard3@localhost'}.
310
317
{node, shard4, 'rabbit_shard4@localhost'}.
318
+ {node, shard5, 'rabbit_shard5@localhost'}.
311
319
312
320
{define, 'Set1', [$(call comma_list,$(addsuffix _SUITE,$1) ) ]}.
313
321
{define, 'Set2', [$(call comma_list,$(addsuffix _SUITE,$2) ) ]}.
314
322
{define, 'Set3', [$(call comma_list,$(addsuffix _SUITE,$3) ) ]}.
315
323
{define, 'Set4', [$(call comma_list,$(addsuffix _SUITE,$4) ) ]}.
324
+ {define, 'Set5', [$(call comma_list,$(addsuffix _SUITE,$5) ) ]}.
316
325
317
326
{suites, shard1, "test/", 'Set1'}.
318
327
{suites, shard2, "test/", 'Set2'}.
319
328
{suites, shard3, "test/", 'Set3'}.
320
329
{suites, shard4, "test/", 'Set4'}.
330
+ {suites, shard5, "test/", 'Set5'}.
321
331
endef
322
332
323
333
define parallel_ct_set_target
@@ -330,7 +340,7 @@ parallel-ct-set-$(1): test-build
330
340
$$(call erlang,$$(call ct_master.erl,ct.set-$(1 ) .spec) ,-sname parallel_ct_$(PROJECT ) @localhost -hidden -kernel net_ticktime 5)
331
341
endef
332
342
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))))
334
344
335
345
# --------------------------------------------------------------------
336
346
# Compilation.
0 commit comments