Skip to content

Commit

Permalink
ZOOKEEPER-3987: Reduce fork count for tests to 1
Browse files Browse the repository at this point in the history
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 <[email protected]>

Reviewers: Enrico Olivelli <[email protected]>, Damien Diederen <[email protected]>

Closes #1606 from ctubbsii/reduce-forkCount

(cherry picked from commit c26f96c)
Signed-off-by: Damien Diederen <[email protected]>
  • Loading branch information
ctubbsii authored and ztzg committed Feb 17, 2021
1 parent 2529f0b commit 5ae153c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5ae153c

Please sign in to comment.