Repository navigation
Refactor Operator test packages #12359
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,6 @@ | |
| <quarkus.version>2.7.5.Final</quarkus.version> | ||
| <quarkus.container-image.group>keycloak</quarkus.container-image.group> | ||
| <quarkus.jib.base-jvm-image>registry.access.redhat.com/ubi8/openjdk-11-runtime</quarkus.jib.base-jvm-image> | ||
| <maven-failsafe-plugin.version>2.22.0</maven-failsafe-plugin.version> | ||
| </properties> | ||
|
|
||
| <dependencyManagement> | ||
|
|
@@ -263,13 +262,17 @@ | |
| </executions> | </plugin> | |
| <plugin> | ||
| <artifactId>maven-failsafe-plugin</artifactId> | ||
| <version>${maven-failsafe-plugin.version}</version> | ||
| <artifactId>maven-surefire-plugin</artifactId> | ||
| <executions> | ||
| <!-- | ||
| need to run at "verify" to support testing with images (which are built at "package") | ||
| using surefire instead of failsafe to align with rest of the KC project | ||
| --> | ||
| <execution> | ||
| <id>default-test</id> | ||
| <phase>verify</phase> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For future reference, I don't have any better proposal now.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, and not only unit tests unfortunately. Even the integration tests could be run at |
||
| <goals> | ||
| <goal>integration-test</goal> | ||
| <goal>verify</goal> | ||
| <goal>test</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to make surefire happy. Without this change it tries to run
**.cluster.**tests inside allintegration-arquillianmodules, even those without tests, so it fails.