Skip to content

Commit

Permalink
Update KGenericContainer.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
gtebrean committed Mar 14, 2024
1 parent 0f5b710 commit dd7c278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/web3j/container/KGenericContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ open class KGenericContainer(
}
withCreateContainerCmdModifier { c -> c.withEntrypoint("/start.sh") }
waitingFor(withWaitStrategy())
withStartupCheckStrategy(OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(10)))
withStartupCheckStrategy(OneShotStartupCheckStrategy().withTimeout(Duration.ofSeconds(5)))
start()

return HttpService("http://localhost:${getMappedPort(8545)}")
Expand Down

0 comments on commit dd7c278

Please sign in to comment.