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
ISPN-10558 ServerNG add database rules #7436
ISPN-10558 ServerNG add database rules #7436
Conversation
d561fa9
to
5cb32e8
Compare
ce14ac7
to
fa25141
Compare
server/runtime/src/test/java/org/infinispan/server/test/persistence/DatabaseServerRule.java
Outdated
Show resolved
Hide resolved
server/runtime/src/test/java/org/infinispan/server/persistence/PooledConnectionOperations.java
Outdated
Show resolved
Hide resolved
server/runtime/src/test/resources/configuration/datasource/mariadb.properties
Outdated
Show resolved
Hide resolved
...ain/java/org/infinispan/persistence/jdbc/impl/connectionfactory/PooledConnectionFactory.java
Show resolved
Hide resolved
fa25141
to
07596e1
Compare
Failures in the new test class https://ci.infinispan.org/job/Infinispan/job/PR-7436/6/#showFailuresLink |
07596e1
to
e4464eb
Compare
The test was failing because of an old version of docker on the agents. I have upgraded it. |
@wburns CI is now fixed (after Docker upgrade) |
e4464eb
to
cc25909
Compare
persistence/jdbc/src/main/java/org/infinispan/persistence/jdbc/DatabaseType.java
Outdated
Show resolved
Hide resolved
|
||
## Testsuite Properties | ||
|
||
The following is a list of properties which affect the build: | ||
|
||
* `org.infinispan.test.server.baseImageName` the base image to use for the server. Defaults to `jboss/base-jdk:11`. | ||
* `org.infinispan.test.server.driver` the driver to use, `EMBEDDED` or `CONTAINER`. Defaults to the `EMBEDDED` driver. | ||
* `org.infinispan.test.server.extension.libs` locates artifact defined by G:A:V, you can pass a list of libraries (comma separeted) to be copied to the server. Only needed for container mode. | ||
* `org.infinispan.test.server.jdbc.databases` database name to be used during persistence tests. |
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.
* `org.infinispan.test.server.jdbc.databases` database name to be used during persistence tests. | |
* `org.infinispan.test.server.jdbc.databases` database types to be used during persistence tests |
server/runtime/src/test/java/org/infinispan/server/test/category/Persistence.java
Show resolved
Hide resolved
server/runtime/src/test/java/org/infinispan/server/test/persistence/DatabaseServerRule.java
Outdated
Show resolved
Hide resolved
Whoops thought I submitted these yesterday |
cc25909
to
8eaa74e
Compare
8eaa74e
to
1c2edf5
Compare
Included the shrinkwrap upgrade as well as the MariaDB fix |
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.
LGTM
Thanks @gustavolira @tristantarrant |
https://issues.jboss.org/browse/ISPN-10558
This now runs server DB tests against containerized H2, MySQL and PostgreSQL.