8000 add kotlin-reflect to api and increase wait · jasync-sql/jasync-sql@152cdef · GitHub
[go: up one dir, main page]

Skip to content
< 10000 header class="prc-PageLayout-Header-mQXK1" style="--spacing:var(--spacing-none)">

Commit 152cdef

Browse files
committed
add kotlin-reflect to api and increase wait
to 10 seconds, to avoid timeouts in test: `ssl handler should throws exception when hostname verification fails`
1 parent 4dc691b commit 152cdef

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

db-async-common/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ val AWAITILITY_VERSION: String by project
1515
dependencies {
1616
compile(project(":pool-async"))
1717
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION")
18-
implementation("org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION")
1918
compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:$KOTLIN_COROUTINES_VERSION")
2019
implementation("org.slf4j:slf4j-api:$SL4J_VERSION")
2120
implementation("joda-time:joda-time:$JODA_VERSION")

mysql-async/src/test/java/com/github/jasync/sql/db/mysql/ConnectionHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ open class ConnectionHelper : ContainerHelper() {
9090
}
9191

9292
fun <T> awaitFuture(f: CompletableFuture<T>): T {
93-
return f.get(5, TimeUnit.SECONDS)
93+
return f.get(10, TimeUnit.SECONDS)
9494
}
9595

9696
fun <T> withPool(f: (ConnectionPool<MySQLConnection>) -> T): T {

pool-async/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ val AWAITILITY_VERSION: String by project
1212

1313
dependencies {
1414
api("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN_VERSION")
15+
api("org.jetbrains.kotlin:kotlin-reflect:$KOTLIN_VERSION")
1516
compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:$KOTLIN_COROUTINES_VERSION")
1617
implementation("org.slf4j:slf4j-api:$SL4J_VERSION")
1718
implementation("joda-time:joda-time:$JODA_VERSION")

0 commit comments

Comments
 (0)
0