From 01f80fb187f682e3e8c81b1dc1cfa01fa2b4f04b Mon Sep 17 00:00:00 2001 From: Alberto Arri <30873160+al-r3@users.noreply.github.com> Date: Fri, 27 Oct 2017 09:27:23 +0100 Subject: [PATCH] remove outdated test (#1949) --- .../node/services/statemachine/FlowFrameworkTests.kt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/node/src/test/kotlin/net/corda/node/services/statemachine/FlowFrameworkTests.kt b/node/src/test/kotlin/net/corda/node/services/statemachine/FlowFrameworkTests.kt index 044c953422..6d478a8f03 100644 --- a/node/src/test/kotlin/net/corda/node/services/statemachine/FlowFrameworkTests.kt +++ b/node/src/test/kotlin/net/corda/node/services/statemachine/FlowFrameworkTests.kt @@ -145,17 +145,7 @@ class FlowFrameworkTests { val restoredFlow = bobNode.restartAndGetRestoredFlow() assertThat(restoredFlow.receivedPayloads[0]).isEqualTo("Hello") } - - @Test - fun `flow added before network map does run after init`() { - val charlieNode = mockNet.createNode() //create vanilla node - val flow = NoOpFlow() - charlieNode.services.startFlow(flow) - assertEquals(false, flow.flowStarted) // Not started yet as no network activity has been allowed yet - mockNet.runNetwork() // Allow network map messages to flow - assertEquals(true, flow.flowStarted) // Now we should have run the flow - } - + @Test fun `flow loaded from checkpoint will respond to messages from before start`() { aliceNode.registerFlowFactory(ReceiveFlow::class) { InitiatedSendFlow("Hello", it) }