Skip to content

Commit 3b3b3c6

Browse files
fix: Increase node timeout to 10 secs
1 parent 229e670 commit 3b3b3c6

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if (!project.hasProperty("isGithubActions")) {
1919
}
2020

2121
group = "io.newm"
22-
version = "2.4.0-SNAPSHOT"
22+
version = "2.5.0-SNAPSHOT"
2323

2424
java.sourceCompatibility = JavaVersion.VERSION_21
2525
java.targetCompatibility = JavaVersion.VERSION_21
@@ -51,6 +51,9 @@ dependencies {
5151
testImplementation("io.mockk:mockk:${Versions.MOCKK}")
5252
testImplementation("com.google.truth:truth:${Versions.GOOGLE_TRUTH}")
5353
testImplementation("org.junit.jupiter:junit-jupiter:${Versions.JUNIT}")
54+
testImplementation("org.junit.jupiter:junit-jupiter-engine:${Versions.JUNIT}")
55+
testImplementation("org.junit.platform:junit-platform-launcher:${Versions.JUNIT_PLATFORM}")
56+
5457
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.COROUTINES}")
5558
}
5659

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
object Versions {
22
const val COMMONS_LOGGING = "1.3.5"
33
const val COMMONS_NUMBERS = "1.2"
4-
const val COROUTINES = "1.10.1"
4+
const val COROUTINES = "1.10.2"
55
const val GOOGLE_TRUTH = "1.4.4"
6-
const val JUNIT = "5.11.4"
7-
const val KOTLIN = "2.1.10"
6+
const val JUNIT = "5.12.1"
7+
const val JUNIT_PLATFORM = "1.12.1"
8+
const val KOTLIN = "2.1.20"
89
const val KOTLINX_DATETIME = "0.6.2"
9-
const val KOTLINX_SERIALIZATION = "1.8.0"
10+
const val KOTLINX_SERIALIZATION = "1.8.1"
1011
const val KTLINT = "1.5.0"
11-
const val KTLINT_PLUGIN = "12.1.2"
12-
const val KTOR = "3.1.0"
13-
const val LOGBACK = "1.5.16"
12+
const val KTLINT_PLUGIN = "12.2.0"
13+
const val KTOR = "3.1.2"
14+
const val LOGBACK = "1.5.18"
1415
const val MAVEN_REPO_AUTH_PLUGIN = "3.0.4"
15-
const val MOCKK = "1.13.16"
16+
const val MOCKK = "1.14.0"
1617
const val VERSIONS_PLUGIN = "0.52.0"
1718
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

src/main/kotlin/io/newm/kogmios/Client.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ interface Client : Closeable {
2323
fun shutdown()
2424

2525
companion object {
26-
const val DEFAULT_REQUEST_TIMEOUT_MS = 5000L
26+
const val DEFAULT_REQUEST_TIMEOUT_MS = 10_000L
2727
const val LONG_REQUEST_TIMEOUT_MS = 180_000L // 3 minutes
2828
const val INSANE_REQUEST_TIMEOUT_MS = 300_000L // 5 minutes
2929
const val LUDICROUS_REQUEST_TIMEOUT_MS = 600_000L // 10 minutes

0 commit comments

Comments
 (0)