diff --git a/docker_db.sh b/docker_db.sh index eb690d43ea..a0d5b14139 100755 --- a/docker_db.sh +++ b/docker_db.sh @@ -104,7 +104,7 @@ EOF mssql() { docker rm -f mssql || true - docker run --name mssql -d -p 1433:1433 -e "SA_PASSWORD=Hibernate_orm_test" -e ACCEPT_EULA=Y microsoft/mssql-server-linux:2017-CU13 + docker run --name mssql -d -p 1433:1433 -e "SA_PASSWORD=Hibernate_orm_test" -e ACCEPT_EULA=Y mcr.microsoft.com/mssql/server:2017-CU13 sleep 5 n=0 until [ "$n" -ge 5 ] diff --git a/hibernate-core-jakarta/hibernate-core-jakarta.gradle b/hibernate-core-jakarta/hibernate-core-jakarta.gradle index a2ece88646..47715fab45 100644 --- a/hibernate-core-jakarta/hibernate-core-jakarta.gradle +++ b/hibernate-core-jakarta/hibernate-core-jakarta.gradle @@ -229,6 +229,12 @@ tasks.test { jvmArgs( ['--add-opens', 'java.base/java.security=ALL-UNNAMED'] ) jvmArgs( ['--add-opens', 'java.base/java.lang=ALL-UNNAMED'] ) } + // Allow to exclude specific tests + if ( project.hasProperty( 'excludeTests' ) ) { + filter { + excludeTestsMatching project.property( 'excludeTests' ).toString() + } + } } task testJar(type: Jar, dependsOn: testClasses) {