Merge pull request #2074 from corda/mkit-add-test-comment

Adding comment to test
This commit is contained in:
Shams Asari 2017-12-14 11:40:35 +00:00 committed by GitHub
commit 70b6944c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {