From 14c684238a1989e74926d0ca977fe00a283c3e96 Mon Sep 17 00:00:00 2001 From: Christopher Tubbs Date: Wed, 17 Feb 2021 17:12:11 +0000 Subject: [PATCH] ZOOKEEPER-3987: Reduce fork count for tests to 1 Increase test stability by avoiding test failures due to port collisions by preventing tests from running concurrently in the GitHub Actions CI builds. Author: Christopher Tubbs Reviewers: Enrico Olivelli , Damien Diederen Closes #1606 from ctubbsii/reduce-forkCount --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0b578f981d3..16171d26ca2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,7 +42,7 @@ jobs: args: '-Pfull-build apache-rat:check verify -DskipTests spotbugs:check checkstyle:check' - name: 'full-build-java-tests' jdk: 11 - args: '-Pfull-build verify -Dsurefire-forkcount=1C -DskipCppUnit -Dsurefire.rerunFailingTestsCount=5' + args: '-Pfull-build verify -Dsurefire-forkcount=1 -DskipCppUnit -Dsurefire.rerunFailingTestsCount=5' - name: 'full-build-cppunit-tests' jdk: 11 args: '-Pfull-build verify -Dtest=_ -DfailIfNoTests=false'