This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push:
new 12cc207 Parallel autest execution with -j 2 when supported (#419)
12cc207 is described below
commit 12cc207e5b75edf7593fe51c36f1a0e950514088
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Feb 10 17:53:36 2026 -0600
Parallel autest execution with -j 2 when supported (#419)
The autest.sh script now accepts a -j flag for parallel test execution
(apache/trafficserver#12867). Detect support by grepping for the
parallel_mode variable and prepend -j 2 to autest_args when present.
Older branches without the feature are unaffected.
---
jenkins/github/autest.pipeline | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/jenkins/github/autest.pipeline b/jenkins/github/autest.pipeline
index 9e75032..722e6b3 100644
--- a/jenkins/github/autest.pipeline
+++ b/jenkins/github/autest.pipeline
@@ -150,6 +150,11 @@ pipeline {
autest_args="--ats-bin /tmp/ats/bin/ --sandbox /tmp/sandbox"
fi
+ # Check for parallel support in autest.sh - originally added in
10.2.0.
+ if grep -q parallel_mode autest.sh; then
+ autest_args="-j 2 ${autest_args}"
+ fi
+
autest_failed=0
if [ ${SHARDCNT} -le 0 ]; then
./autest.sh ${autest_args} || autest_failed=1