-
Notifications
You must be signed in to change notification settings - Fork 191
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
Ref#4772 Introduce group testing for different jdbc db types #5116
Conversation
integration-test-groups/jdbc/db2/src/main/resources/reflection-config.json
Outdated
Show resolved
Hide resolved
|
||
quarkus.datasource.mssql.db-kind=mssql | ||
quarkus.datasource.mssql.jdbc.max-size=8 | ||
|
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.
Can we only keep quarkus.datasource.db2
configurations sine it is for db2
testing?
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.
@zhfeng I thought that the application.properties
file should be the same for all modules, otherwise group tests don't work properly.
Thanks @ldrozdo for working on this issue. I just add some comments. |
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.
Should we not be removing the integration-tests/jdbc
module? And also its reference in test-categories.yaml
.
c3a37fd
to
7bf4d45
Compare
|
85e6a98
to
e1a1028
Compare
Hi @zhfeng , can you please help me? I managed to fix the failing checks, I think failings in native tests are glitches because before, they were already succesfull... But alternative-platform tests are still failing: |
There's no Docker on the Windows build. You can add a profile like this one so the test gets skipped on that platform: |
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-db2</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-h2</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-mariadb</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-mssql</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-mysql</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-oracle</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.quarkus</groupId> | ||
<artifactId>quarkus-jdbc-postgresql</artifactId> | ||
</dependency> |
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.
Are all these JDBC artifacts needed in this specific test module? We generally prefer keeping the minimal set of dependencies. The same issue seems to exist in other submodules of integration-test-groups/jdbc
I guess, after merging this change, you want to run tests in all submodules of |
bf7e327
to
457f68e
Compare
@jamesnetherton thank you, the profile helped. I have one (hopefully last) problem. The native tests were already passing, but now they've started to fail with: |
I guess we're eating up a lot of disk space with all of the container images we pull.... I can create a separate PR to try and reclaim some space before the tests run. |
@ldrozdo if you rebase with the latest work from |
50f2f70
to
df78cae
Compare
Follow up issue to remove the old itest module #5164. |
Fix #4772