mirror of
https://github.com/corda/corda.git
synced 2025-04-14 14:37:22 +00:00
node: Increase poll timeout in driver
This commit is contained in:
parent
feecc36661
commit
a5e8c86928
@ -161,7 +161,7 @@ class DriverHandle(private val driverDsl: DriverDSLInternalInterface) {
|
||||
fun <A> poll(f: () -> A?): A {
|
||||
var counter = 0
|
||||
var result = f()
|
||||
while (result == null && counter < 30) {
|
||||
while (result == null && counter < 120) {
|
||||
counter++
|
||||
Thread.sleep(500)
|
||||
result = f()
|
||||
|
Loading…
x
Reference in New Issue
Block a user