From 1722ec5e69f9d67a7ddbc57653c41bdf88de8f56 Mon Sep 17 00:00:00 2001 From: Andras Slemmer Date: Thu, 22 Feb 2018 10:11:43 +0000 Subject: [PATCH] Remove stringy check from test --- .../node/services/transactions/MaxTransactionSizeTests.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/src/test/kotlin/net/corda/node/services/transactions/MaxTransactionSizeTests.kt b/node/src/test/kotlin/net/corda/node/services/transactions/MaxTransactionSizeTests.kt index 6cb8cdf04e..9280781c4f 100644 --- a/node/src/test/kotlin/net/corda/node/services/transactions/MaxTransactionSizeTests.kt +++ b/node/src/test/kotlin/net/corda/node/services/transactions/MaxTransactionSizeTests.kt @@ -88,12 +88,11 @@ class MaxTransactionSizeTests { assertEquals(hash1, bigFile1.sha256) SendLargeTransactionFlow(notary, bob, hash1, hash2, hash3, hash4, verify = false) } - val ex = assertFailsWith { + assertFailsWith { val future = aliceServices.startFlow(flow) mockNet.runNetwork() future.getOrThrow() } - assertThat(ex).hasMessageContaining("Counterparty flow on O=Bob Plc, L=Rome, C=IT had an internal error and has terminated") } @StartableByRPC