From fd5472b0531f519a6f422d8364ce936fa1c75e93 Mon Sep 17 00:00:00 2001 From: Ross Nicoll Date: Thu, 30 Jul 2020 15:39:28 +0100 Subject: [PATCH] NOTICK Remove memory leak endurance test (#6514) Remove memory leak endurance test as it spends 8 minutes testing a single failure case that's not end user visible, and ultimately manifests elsewhere in test failures (which is where this came from in the beginning). It was a good idea to confirm the change fixed the issue, but this isn't critical enough to retain. --- .../endurance/NodesStartStopSingleVmTests.kt | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 node/src/integration-test-slow/kotlin/net/corda/node/endurance/NodesStartStopSingleVmTests.kt diff --git a/node/src/integration-test-slow/kotlin/net/corda/node/endurance/NodesStartStopSingleVmTests.kt b/node/src/integration-test-slow/kotlin/net/corda/node/endurance/NodesStartStopSingleVmTests.kt deleted file mode 100644 index dabf8379b6..0000000000 --- a/node/src/integration-test-slow/kotlin/net/corda/node/endurance/NodesStartStopSingleVmTests.kt +++ /dev/null @@ -1,30 +0,0 @@ -package net.corda.node.endurance - -import net.corda.core.utilities.getOrThrow -import net.corda.testing.core.ALICE_NAME -import net.corda.testing.core.BOB_NAME -import net.corda.testing.driver.DriverParameters -import net.corda.testing.driver.driver -import org.junit.Test -import org.junit.runner.RunWith -import org.junit.runners.Parameterized - -@RunWith(Parameterized::class) -class NodesStartStopSingleVmTests(@Suppress("unused") private val iteration: Int) { - - companion object { - @JvmStatic - @Parameterized.Parameters(name = "iteration = {0}") - fun iterations(): Iterable> { - return (1..60).map { arrayOf(it) } - } - } - - @Test(timeout = 300_000) - fun nodesStartStop() { - driver(DriverParameters(notarySpecs = emptyList(), startNodesInProcess = true)) { - startNode(providedName = ALICE_NAME).getOrThrow() - startNode(providedName = BOB_NAME).getOrThrow() - } - } -} \ No newline at end of file