Skip to content

Commit

Permalink
test: test both binaryMode=true,false when creating connections in Da…
Browse files Browse the repository at this point in the history
…tabaseMetaDataTest

#3229
  • Loading branch information
vlsi committed Apr 24, 2024
1 parent 6a2c732 commit 761d622
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 64 deletions.
Expand Up @@ -38,6 +38,7 @@ tasks.configureEach<Test> {
value?.let { systemProperty(name, it) }
}
passProperty("junit.jupiter.execution.parallel.enabled", "true")
passProperty("junit.jupiter.extensions.autodetection.enabled", "true")
// TODO: remove when upgrade to JUnit 5.9+
// See https://github.com/junit-team/junit5/commit/347e3119d36a5c226cddd7981452f11335fad422
passProperty("junit.jupiter.execution.parallel.config.strategy", "DYNAMIC")
Expand Down
3 changes: 3 additions & 0 deletions pgjdbc/build.gradle.kts
Expand Up @@ -90,6 +90,9 @@ dependencies {
testImplementation("se.jiderhamn:classloader-leak-test-framework:1.1.2")
testFixturesImplementation("junit:junit:4.13.2")
testFixturesImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
testFixturesApi("org.junit.jupiter:junit-jupiter-engine:5.10.2") {
because("We use BeforeEachMethodAdapter to add parameters to beforeeach and aftereach methods")
}
testFixturesImplementation("org.checkerframework:checker-qual:3.42.0")
}

Expand Down

0 comments on commit 761d622

Please sign in to comment.