Merge pull request from corda/adel/ENT-11113-pt2

ENT-11113, ENT-11903: Ignore the NodeSchedulerPersistenceTest flaky test.
This commit is contained in:
Adel El-Beik 2024-06-11 10:52:55 +01:00 committed by GitHub
commit 2723e7d408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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(120000)).startFlow(argForWhich<ExternalEvent.ExternalStartFlowEvent<*>> { this.flowLogic == flowLogic })
verify(flowStarter, timeout(5000)).startFlow(argForWhich<ExternalEvent.ExternalStartFlowEvent<*>> { this.flowLogic == flowLogic })
}
protected fun assertStarted(event: Event) = assertStarted(event.flowLogic)
@ -256,6 +256,7 @@ class NodeSchedulerServiceTest : NodeSchedulerServiceTestBase() {
}
}
@Ignore("TODO JDK17: Flaky test")
class NodeSchedulerPersistenceTest : NodeSchedulerServiceTestBase() {
private val databaseConfig: DatabaseConfig = DatabaseConfig()