Update SQL Server docker image URL as the old one does not work anymore and add exclude logic to hibernate-core-jakarta also
This commit is contained in:
parent
58517b99d1
commit
044b4b5345
|
@ -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 ]
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue