summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kuryloski <kuryloskip@vmware.com>2020-11-18 09:58:22 +0100
committerPhilip Kuryloski <kuryloskip@vmware.com>2020-11-18 11:08:17 +0100
commit4bad0a6932189afe4b925dca7659ef75dafb5d37 (patch)
tree2888c13776e3d4d47f35a62e717d786df3d5b3a1
parentc816d4969e8b0f47c5a1e9dde03614bb36486693 (diff)
downloadrabbitmq-server-git-4bad0a6932189afe4b925dca7659ef75dafb5d37.tar.gz
Make ct-suite parallelization in GitHub Actions explicit
Previously apps with more than 20 suites would get this treatment, but it is now made explicit and configurable
-rw-r--r--workflow_sources/deps.yml1
-rw-r--r--workflow_sources/test/dep.star2
2 files changed, 2 insertions, 1 deletions
diff --git a/workflow_sources/deps.yml b/workflow_sources/deps.yml
index c5ea3e5af6..12f0699332 100644
--- a/workflow_sources/deps.yml
+++ b/workflow_sources/deps.yml
@@ -9,6 +9,7 @@ deps:
- name: worker_pool
- name: rabbit_env
- name: rabbit
+ test_suites_in_parallel: true
suites:
- name: amqqueue_backward_compatibility
time: 63
diff --git a/workflow_sources/test/dep.star b/workflow_sources/test/dep.star
index a74b0bef99..d56e2fe2f6 100644
--- a/workflow_sources/test/dep.star
+++ b/workflow_sources/test/dep.star
@@ -8,7 +8,7 @@ def dep_jobs(dep):
if not getattr(dep, "skip_tests", False):
if dep.name == "rabbitmq_cli":
jobs[dep.name] = rabbitmq_cli_job(dep)
- elif len(dep.suites) > 20:
+ elif getattr(dep, "test_suites_in_parallel", False):
jobs[dep.name + "-checks"] = checks_job(dep)
for group in group_by_one(dep.suites):
jobs[dep.name + "-ct-" + group["name"]] = ct_suites_job(dep, group)