Skip to content

chore: switch from surefire to failsafe for integration tests#95

Merged
orpiske merged 1 commit into
wanaku-ai:mainfrom
orpiske:quick-fix/use-failsafe-plugin
Apr 29, 2026
Merged

chore: switch from surefire to failsafe for integration tests#95
orpiske merged 1 commit into
wanaku-ai:mainfrom
orpiske:quick-fix/use-failsafe-plugin

Conversation

@orpiske
Copy link
Copy Markdown
Contributor

@orpiske orpiske commented Apr 29, 2026

Summary

  • Replace maven-surefire-plugin with maven-failsafe-plugin so integration tests run during the integration-test/verify lifecycle phases instead of the test phase
  • Failsafe's default includes already match the *ITCase.java naming convention, so explicit include patterns are no longer needed
  • The test-common module's unit test (TargetConfigurationTest) continues to run under surefire defaults

Test plan

  • Run mvn verify and confirm all *ITCase tests execute during the integration-test phase
  • Confirm test-common unit test still runs during the test phase

@orpiske
Copy link
Copy Markdown
Contributor Author

orpiske commented Apr 29, 2026

FYI @lnearlol ... failsafe has better behavior for the integration tests than surefire (that's what it was designed for)

@orpiske orpiske merged commit 2c3e2bc into wanaku-ai:main Apr 29, 2026
1 check passed
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.

1 participant