cristof commented on PR #142: URL: https://github.com/apache/openjpa/pull/142#issuecomment-4304043097
@rzo1, in a clean build, using jdk17 (minimum java version per spec), pointed to PG-17 and MariaDB. PG tests passed persistence jdbc, but failed at locking tests (TestPessimisticLocks::testQueryAfterFindWithPessimisticLocks). MariaDB LTS (11.8) had 4 errors on persistence JDBC - all of them into TestBatchLimitException. How do you propose we can finish the work? Do you have a docker available to reproduce the tests locally? I startup the pg docker using ``` docker run --rm --name openjpa-pg -e POSTGRES_PASSWORD=SOME_PWD postgres:17 ``` And create the test database afterwards (docker exec -it openjpa-pg createdb openjpa). MariaDB is started using: ``` docker run --rm --name openjpa-mariadb -e MARIADB_USER=openjpa -e MARIADB_PASSWORD=SOME_PWD -e MARIADB_DATABASE=openjpa -e MARIADB_ROOT_PASSWORD=passwd mariadb:lts ``` The tests are run using, from the directory where I've pulled the branch and provided a uid/gid equals to 1000:1000: ``` docker run --rm --name openjpa -u 1000:1000 -v ~/.m2:/opt/openjpa/.m2 -v $(pwd):/opt/openjpa -e MAVEN_CONFIG=/opt/openjpa/.m2 -w /opt/openjpa maven:3-eclipse-temurin-17 mvn -Duser.home=/opt/openjpa -Ptest-mariadb -Dopenjpa.mariadb.url=jdbc:mariadb://<DOCKER_DB_ADDRESS>/openjpa -Dopenjpa.mariadb.username=openjpa -Dopenjpa.mariadb.password=SOME_PWD clean package docker run --rm --name openjpa -u 1000:1000 -v ~/.m2:/opt/openjpa/.m2 -v $(pwd):/opt/openjpa -e MAVEN_CONFIG=/opt/openjpa/.m2 -w /opt/openjpa maven:3-eclipse-temurin-17 mvn -Duser.home=/opt/openjpa -Ptest-postgresql -Dopenjpa.postgresql.url=jdbc:postgresql://<DOCKER_DB_ADDRESS>/openjpa -Dopenjpa.postgresql.username=postgres -Dopenjpa.postgresql.password=SOME_PWD clean package ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
