Skip to content
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

Run parallel tests in CI #198

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

MarkEWaite
Copy link
Contributor

Run parallel tests in CI

Several of the tests are long running and benefit significantly from parallel execution. Use parallel execution to speed the tests.

  • Remove unused dependency references
  • Run parallel tests in CI

Testing done

Tests run successfully on Java 11 on my Linux computer. Rely on ci.jenkins.io to test other configurations.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

The plugin includes several long running tests that benefit from using
at least one JVM per core on the test machine.
@MarkEWaite MarkEWaite requested a review from a team as a code owner August 3, 2023 18:30
@MarkEWaite MarkEWaite enabled auto-merge (squash) August 3, 2023 18:32
@MarkEWaite MarkEWaite merged commit 28a34f8 into jenkinsci:master Aug 3, 2023
15 checks passed
@MarkEWaite MarkEWaite deleted the test-in-parallel-in-ci branch August 3, 2023 21:43
@jtnord
Copy link
Member

jtnord commented Aug 9, 2023

@MarkEWaite I think you forgot to remove the hard coded nature in the pom.xml of surefire - the Jenkinsfile change does nothing - you can set to 50000 and it will still use 1C

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants