Skip to content

Run parallel tests on ci.jenkins.io#122

Merged
MarkEWaite merged 1 commit into
jenkinsci:masterfrom
MarkEWaite:run-parallel-ci-tests
Aug 28, 2023
Merged

Run parallel tests on ci.jenkins.io#122
MarkEWaite merged 1 commit into
jenkinsci:masterfrom
MarkEWaite:run-parallel-ci-tests

Conversation

@MarkEWaite

Copy link
Copy Markdown
Contributor

Run parallel tests on ci.jenkins.io

Parallel tests consistently run faster for this repository than running the tests in a single Java virtual machine. Use a Java virtual machine per core when running on ci.jenkins.io.

What has been done

  1. Confirmed with multiple test runs on ci.jenkins.io (using Pipeline replay) that forkCount: '1C' consistently completes tests faster then the default setting

How to test

  1. Run with mvn clean -DforkCount=1C verify

Checklist

  • Git commits follow best practices
  • Build passes in Jenkins
  • Appropriate tests or explanation to why this change has no tests
  • Pull Request is marked with appropriate label (see .github/release-drafter.yml)
  • JIRA issue is well described (problem explanation, steps to reproduce, screenshots)
  • For dependency updates: links to external changelogs and, if possible, full diffs

Parallel tests consistently run faster for this repository than running
the tests in a single Java virtual machine.  Use a Java virtual machine
per core when running on ci.jenkins.io.
@MarkEWaite MarkEWaite added the chore General project maintenance label Aug 28, 2023
@MarkEWaite
MarkEWaite merged commit 628bb8a into jenkinsci:master Aug 28, 2023
@MarkEWaite
MarkEWaite deleted the run-parallel-ci-tests branch August 28, 2023 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore General project maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant