mirror of
https://github.com/corda/corda.git
synced 2025-01-01 18:56:44 +00:00
waitForNodeStartup should now throw after 2 minutes rather than 20 seconds.
Some bank devs were finding integration tests failing as nodes had still not started.
This commit is contained in:
parent
88da5ba942
commit
dc60db5f69
@ -13,7 +13,8 @@ class NodeApi {
|
||||
class NodeDidNotStartException(message: String): Exception(message)
|
||||
|
||||
companion object {
|
||||
val NODE_WAIT_RETRY_COUNT: Int = 100
|
||||
// Increased timeout to two minutes.
|
||||
val NODE_WAIT_RETRY_COUNT: Int = 600
|
||||
val NODE_WAIT_RETRY_DELAY_MS: Long = 200
|
||||
|
||||
fun ensureNodeStartsOrKill(proc: Process, nodeWebserverAddr: HostAndPort) {
|
||||
|
Loading…
Reference in New Issue
Block a user