From e579abd274e2dd1a1370a664bd340c699df6b705 Mon Sep 17 00:00:00 2001 From: josecoll Date: Sun, 19 Nov 2017 10:11:13 +0000 Subject: [PATCH] @Ignore duplicate tests with incorrect setup. --- .../corda/enterprise/perftestcordapp/flows/CashExitFlowTests.kt | 2 ++ .../enterprise/perftestcordapp/flows/CashPaymentFlowTests.kt | 2 ++ .../enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt | 2 ++ 3 files changed, 6 insertions(+) diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashExitFlowTests.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashExitFlowTests.kt index 3456935d6d..62a4b56b17 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashExitFlowTests.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashExitFlowTests.kt @@ -16,10 +16,12 @@ import net.corda.testing.node.MockNetwork.MockNode import net.corda.testing.startFlow import org.junit.After import org.junit.Before +import org.junit.Ignore import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith +@Ignore class CashExitFlowTests { private lateinit var mockNet: MockNetwork private val initialBalance = 2000.DOLLARS diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashPaymentFlowTests.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashPaymentFlowTests.kt index a43515da84..6d7d4f72a1 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashPaymentFlowTests.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/CashPaymentFlowTests.kt @@ -16,10 +16,12 @@ import net.corda.testing.node.MockNetwork import net.corda.testing.node.MockNetwork.MockNode import org.junit.After import org.junit.Before +import org.junit.Ignore import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertFailsWith +@Ignore class CashPaymentFlowTests { private lateinit var mockNet: MockNetwork private val initialBalance = 2000.DOLLARS diff --git a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt index 50475495b0..7094388ad9 100644 --- a/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt +++ b/perftestcordapp/src/test/kotlin/com/r3/corda/enterprise/perftestcordapp/flows/TwoPartyTradeFlowTest.kt @@ -47,6 +47,7 @@ import net.corda.testing.node.* import org.assertj.core.api.Assertions.assertThat import org.junit.After import org.junit.Before +import org.junit.Ignore import org.junit.Test import org.junit.runner.RunWith import org.junit.runners.Parameterized @@ -80,6 +81,7 @@ internal fun CheckpointStorage.checkpoints(): List { * * We assume that Alice and Bob already found each other via some market, and have agreed the details already. */ +@Ignore @RunWith(Parameterized::class) class TwoPartyTradeFlowTests(private val anonymous: Boolean) { companion object {