From 44733da8b6012c5ca336a669d85abb2df78c7283 Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Tue, 15 Jan 2019 10:20:56 +0000 Subject: [PATCH] Increase timeout (#4579) --- .../node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/src/integration-test/kotlin/net/corda/node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt b/node/src/integration-test/kotlin/net/corda/node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt index c2339e199a..977b4c557b 100644 --- a/node/src/integration-test/kotlin/net/corda/node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt +++ b/node/src/integration-test/kotlin/net/corda/node/flows/FlowCheckpointVersionNodeStartupCheckTest.kt @@ -47,7 +47,7 @@ class FlowCheckpointVersionNodeStartupCheckTest { val result = if (page.snapshot.states.isNotEmpty()) { page.snapshot.states.first() } else { - val r = page.updates.timeout(10, TimeUnit.SECONDS).take(1).toBlocking().single() + val r = page.updates.timeout(30, TimeUnit.SECONDS).take(1).toBlocking().single() if (r.consumed.isNotEmpty()) r.consumed.first() else r.produced.first() } assertNotNull(result) @@ -139,7 +139,6 @@ class FlowCheckpointVersionNodeStartupCheckTest { private fun parametersForRestartingNodes(): DriverParameters { return DriverParameters( - isDebug = true, startNodesInProcess = false, // Start nodes in separate processes to ensure CordappLoader is not shared between restarts inMemoryDB = false, // Ensure database is persisted between node restarts so we can keep suspended flows cordappsForAllNodes = emptyList()