-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Adds integration tests for postgresql devservices #20640
Adds integration tests for postgresql devservices #20640
Conversation
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building ef35616
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 Windows #- Failing: integration-tests/postgresql-devservices
📦 integration-tests/postgresql-devservices✖
✖
|
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 3766b72
Full information is available in the Build summary check run. Failures⚙️ Devtools Tests - JDK 11 Windows #- Failing: integration-tests/devtools
📦 integration-tests/devtools✖
✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: integration-tests/postgresql-devservices
📦 integration-tests/postgresql-devservices✖
✖
|
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.
@stuartwdouglas I would be interested in your take on this. I think if we go this way, we need to be consistent but I'm not sure if we should just create a big module with all of them or having separate modules.
Let's try to decide how we want things before making further progress.
@gsmet note: |
</exclusions> | ||
</dependency> | ||
</dependencies> | ||
<build> |
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 module should be configured to skip tests unless -DstartContainers is present.
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.
@stuartwdouglas, I googled how to configure maven to skip test from a conditional, but I didn't find anything, do you have any tips for me?
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.
Basically skip the tests by default, then have a profile that changes skip to false if start-containers is set. That example also manually starts the containers, which you don't need.
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.
@stuartwdouglas, thanks for tip.
Done.
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 6a7a774
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 Windows #- Failing: integration-tests/devservices-postgresql
📦 integration-tests/devservices-postgresql✖
✖
|
* Fixs maven module to run tests * Fixs formatting * Fixs modules name * Adds configuration to skip tests by default
99e6c6e
to
43eb305
Compare
@gsmet, @stuartwdouglas, |
Sorry, we haven't have the time to have a proper look at this. @stuartwdouglas is on PTO and I'd like to discuss this with him when he's back. Assigning it to me so that I can keep track of this thing. |
Goal:
Ensure that the devservices feature for postgresql is working correctly;