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 apache#1606 from ctubbsii/reduce-forkCount
  • Loading branch information
ctubbsii authored and RokLenarcic committed Aug 31, 2022
1 parent e735bf1 commit a92f6d5
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 a92f6d5

Please sign in to comment.