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

Maven surefire not running and failing test and warnings #294

Merged
merged 4 commits into from
Oct 17, 2024

Conversation

pricem14pc
Copy link
Contributor

@pricem14pc pricem14pc commented Oct 12, 2024

What and why?

Unit tests weren't running as surefire plugin wasn't configured correctly. Only the failsafe integration tests were running.

Screenshot 2024-10-12 at 11 26 39

Also we were seeing various warnings and one of the tests was failing when run so there are changes to resolve those.

How to test?

Check the unit tests are running and passing in Github Actions and locally using mvn clean install. There were ~158 unit tests not running previously.

Screenshot 2024-10-12 at 11 27 25

Jira

@pricem14pc pricem14pc marked this pull request as ready for review October 14, 2024 09:09
@pricem14pc pricem14pc requested a review from arroyoAle October 14, 2024 09:12
Copy link
Contributor

@arroyoAle arroyoAle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and tested, existing tests now run and pass

Copy link
Contributor

@matthew-robinson-ons matthew-robinson-ons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are now running and the build is working with the surefire updates

@pricem14pc pricem14pc merged commit 725e571 into main Oct 17, 2024
1 check passed
@pricem14pc pricem14pc deleted the fix-tests-not-running-or-passing branch October 17, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants