Skip to content

Run parallel tests on ci.jenkins.io #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

MarkEWaite
Copy link
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