diff --git a/settings.gradle b/settings.gradle index 6a1ca989ff..df6a1eecb9 100644 --- a/settings.gradle +++ b/settings.gradle @@ -58,5 +58,4 @@ project(':hsm-tool').with { name = 'sgx-hsm-tool' projectDir = file("$settingsDir/sgx-jvm/hsm-tool") } -include 'perftestcordapp' diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt index 846305f3aa..f0bcf80658 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/NodeTestUtils.kt @@ -13,6 +13,7 @@ import net.corda.core.identity.CordaX500Name import net.corda.core.internal.FlowStateMachine import net.corda.core.node.ServiceHub import net.corda.core.transactions.TransactionBuilder +import net.corda.core.utilities.getOrThrow import net.corda.core.utilities.seconds import net.corda.node.services.api.StartedNodeServices import net.corda.node.services.config.* diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt index 3914445caa..af592a2976 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/driver/Driver.kt @@ -173,7 +173,7 @@ fun driver( driverDirectory: Path = defaultParameters.driverDirectory, portAllocation: PortAllocation = defaultParameters.portAllocation, debugPortAllocation: PortAllocation = defaultParameters.debugPortAllocation, - extraSystemProperties: Map = defaultParameters.extraSystemProperties, + systemProperties: Map = defaultParameters.systemProperties, useTestClock: Boolean = defaultParameters.useTestClock, initialiseSerialization: Boolean = defaultParameters.initialiseSerialization, startNodesInProcess: Boolean = defaultParameters.startNodesInProcess, @@ -187,7 +187,7 @@ fun driver( driverDsl = DriverDSLImpl( portAllocation = portAllocation, debugPortAllocation = debugPortAllocation, - extraSystemProperties = extraSystemProperties, + systemProperties = systemProperties, driverDirectory = driverDirectory.toAbsolutePath(), useTestClock = useTestClock, isDebug = isDebug, @@ -224,7 +224,7 @@ data class DriverParameters( val driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), val portAllocation: PortAllocation = PortAllocation.Incremental(10000), val debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), - val extraSystemProperties: Map = emptyMap(), + val systemProperties: Map = emptyMap(), val useTestClock: Boolean = false, val initialiseSerialization: Boolean = true, val startNodesInProcess: Boolean = false, @@ -238,7 +238,7 @@ data class DriverParameters( fun setDriverDirectory(driverDirectory: Path) = copy(driverDirectory = driverDirectory) fun setPortAllocation(portAllocation: PortAllocation) = copy(portAllocation = portAllocation) fun setDebugPortAllocation(debugPortAllocation: PortAllocation) = copy(debugPortAllocation = debugPortAllocation) - fun setExtraSystemProperties(extraSystemProperties: Map) = copy(extraSystemProperties = extraSystemProperties) + fun setSystemProperties(systemProperties: Map) = copy(systemProperties = systemProperties) fun setUseTestClock(useTestClock: Boolean) = copy(useTestClock = useTestClock) fun setInitialiseSerialization(initialiseSerialization: Boolean) = copy(initialiseSerialization = initialiseSerialization) fun setStartNodesInProcess(startNodesInProcess: Boolean) = copy(startNodesInProcess = startNodesInProcess) diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/internal/RPCDriver.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/internal/RPCDriver.kt index 1e14047cc0..62902a24a2 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/internal/RPCDriver.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/internal/RPCDriver.kt @@ -110,7 +110,7 @@ fun rpcDriver( DriverDSLImpl( portAllocation = portAllocation, debugPortAllocation = debugPortAllocation, - extraSystemProperties = systemProperties, + systemProperties = systemProperties, driverDirectory = driverDirectory.toAbsolutePath(), useTestClock = useTestClock, isDebug = isDebug, diff --git a/tools/jmeter/build.gradle b/tools/jmeter/build.gradle index 6040fd3739..e75a3c3277 100644 --- a/tools/jmeter/build.gradle +++ b/tools/jmeter/build.gradle @@ -6,7 +6,6 @@ mainClassName = 'com.r3.corda.jmeter.Launcher' dependencies { compile project(':client:rpc') - compile project(':perftestcordapp') // https://mvnrepository.com/artifact/com.jcraft/jsch compile group: 'com.jcraft', name: 'jsch', version: '0.1.54'