Remove stringy check from test

This commit is contained in:
Andras Slemmer 2018-02-22 10:11:43 +00:00
parent 6a2217ace6
commit 1722ec5e69

View File

@ -88,12 +88,11 @@ class MaxTransactionSizeTests {
assertEquals(hash1, bigFile1.sha256) assertEquals(hash1, bigFile1.sha256)
SendLargeTransactionFlow(notary, bob, hash1, hash2, hash3, hash4, verify = false) SendLargeTransactionFlow(notary, bob, hash1, hash2, hash3, hash4, verify = false)
} }
val ex = assertFailsWith<UnexpectedFlowEndException> { assertFailsWith<UnexpectedFlowEndException> {
val future = aliceServices.startFlow(flow) val future = aliceServices.startFlow(flow)
mockNet.runNetwork() mockNet.runNetwork()
future.getOrThrow() future.getOrThrow()
} }
assertThat(ex).hasMessageContaining("Counterparty flow on O=Bob Plc, L=Rome, C=IT had an internal error and has terminated")
} }
@StartableByRPC @StartableByRPC