From 1866a02cf365520015c1d078007ef98129167227 Mon Sep 17 00:00:00 2001 From: Adel El-Beik Date: Wed, 5 Jun 2024 16:25:34 +0100 Subject: [PATCH] ENT-11113: Increase timeout from 5 secs in scheduler test, see if solves intermittent failure on Jenkins. --- .../net/corda/node/services/events/NodeSchedulerServiceTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/test/kotlin/net/corda/node/services/events/NodeSchedulerServiceTest.kt b/node/src/test/kotlin/net/corda/node/services/events/NodeSchedulerServiceTest.kt index 243ade4fa5..cb781d82ba 100644 --- a/node/src/test/kotlin/net/corda/node/services/events/NodeSchedulerServiceTest.kt +++ b/node/src/test/kotlin/net/corda/node/services/events/NodeSchedulerServiceTest.kt @@ -99,7 +99,7 @@ open class NodeSchedulerServiceTestBase { protected fun assertStarted(flowLogic: FlowLogic<*>) { // Like in assertWaitingFor, use timeout to make verify wait as we often race the call to startFlow: - verify(flowStarter, timeout(5000)).startFlow(argForWhich> { this.flowLogic == flowLogic }) + verify(flowStarter, timeout(120000)).startFlow(argForWhich> { this.flowLogic == flowLogic }) } protected fun assertStarted(event: Event) = assertStarted(event.flowLogic)