Adding comment to test

This commit is contained in:
Michal Kit 2017-11-17 14:48:36 +00:00 committed by Shams Asari
parent d5f8258bd1
commit f3253b4644

View File

@ -293,6 +293,8 @@ class FlowStackSnapshotTest {
node.registerInitiatedFlow(DummyFlow::class.java)
node.services.startFlow(FlowStackSnapshotSerializationTestingFlow()).resultFuture.get()
val thrown = try {
// Due to the [MockNetwork] implementation, the easiest way to trigger object serialization process is at
// the network stopping stage.
mockNet.stopNodes()
null
} catch (exception: Exception) {