mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Fixes following merge from OS for HC01.
Disabled "pertestcordapp" due to continuous conflict problem upon merge.
This commit is contained in:
parent
8a6e9c52f3
commit
6456aec9ce
@ -58,5 +58,4 @@ project(':hsm-tool').with {
|
|||||||
name = 'sgx-hsm-tool'
|
name = 'sgx-hsm-tool'
|
||||||
projectDir = file("$settingsDir/sgx-jvm/hsm-tool")
|
projectDir = file("$settingsDir/sgx-jvm/hsm-tool")
|
||||||
}
|
}
|
||||||
include 'perftestcordapp'
|
|
||||||
|
|
||||||
|
@ -13,6 +13,7 @@ import net.corda.core.identity.CordaX500Name
|
|||||||
import net.corda.core.internal.FlowStateMachine
|
import net.corda.core.internal.FlowStateMachine
|
||||||
import net.corda.core.node.ServiceHub
|
import net.corda.core.node.ServiceHub
|
||||||
import net.corda.core.transactions.TransactionBuilder
|
import net.corda.core.transactions.TransactionBuilder
|
||||||
|
import net.corda.core.utilities.getOrThrow
|
||||||
import net.corda.core.utilities.seconds
|
import net.corda.core.utilities.seconds
|
||||||
import net.corda.node.services.api.StartedNodeServices
|
import net.corda.node.services.api.StartedNodeServices
|
||||||
import net.corda.node.services.config.*
|
import net.corda.node.services.config.*
|
||||||
|
@ -173,7 +173,7 @@ fun <A> driver(
|
|||||||
driverDirectory: Path = defaultParameters.driverDirectory,
|
driverDirectory: Path = defaultParameters.driverDirectory,
|
||||||
portAllocation: PortAllocation = defaultParameters.portAllocation,
|
portAllocation: PortAllocation = defaultParameters.portAllocation,
|
||||||
debugPortAllocation: PortAllocation = defaultParameters.debugPortAllocation,
|
debugPortAllocation: PortAllocation = defaultParameters.debugPortAllocation,
|
||||||
extraSystemProperties: Map<String, String> = defaultParameters.extraSystemProperties,
|
systemProperties: Map<String, String> = defaultParameters.systemProperties,
|
||||||
useTestClock: Boolean = defaultParameters.useTestClock,
|
useTestClock: Boolean = defaultParameters.useTestClock,
|
||||||
initialiseSerialization: Boolean = defaultParameters.initialiseSerialization,
|
initialiseSerialization: Boolean = defaultParameters.initialiseSerialization,
|
||||||
startNodesInProcess: Boolean = defaultParameters.startNodesInProcess,
|
startNodesInProcess: Boolean = defaultParameters.startNodesInProcess,
|
||||||
@ -187,7 +187,7 @@ fun <A> driver(
|
|||||||
driverDsl = DriverDSLImpl(
|
driverDsl = DriverDSLImpl(
|
||||||
portAllocation = portAllocation,
|
portAllocation = portAllocation,
|
||||||
debugPortAllocation = debugPortAllocation,
|
debugPortAllocation = debugPortAllocation,
|
||||||
extraSystemProperties = extraSystemProperties,
|
systemProperties = systemProperties,
|
||||||
driverDirectory = driverDirectory.toAbsolutePath(),
|
driverDirectory = driverDirectory.toAbsolutePath(),
|
||||||
useTestClock = useTestClock,
|
useTestClock = useTestClock,
|
||||||
isDebug = isDebug,
|
isDebug = isDebug,
|
||||||
@ -224,7 +224,7 @@ data class DriverParameters(
|
|||||||
val driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()),
|
val driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()),
|
||||||
val portAllocation: PortAllocation = PortAllocation.Incremental(10000),
|
val portAllocation: PortAllocation = PortAllocation.Incremental(10000),
|
||||||
val debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005),
|
val debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005),
|
||||||
val extraSystemProperties: Map<String, String> = emptyMap(),
|
val systemProperties: Map<String, String> = emptyMap(),
|
||||||
val useTestClock: Boolean = false,
|
val useTestClock: Boolean = false,
|
||||||
val initialiseSerialization: Boolean = true,
|
val initialiseSerialization: Boolean = true,
|
||||||
val startNodesInProcess: Boolean = false,
|
val startNodesInProcess: Boolean = false,
|
||||||
@ -238,7 +238,7 @@ data class DriverParameters(
|
|||||||
fun setDriverDirectory(driverDirectory: Path) = copy(driverDirectory = driverDirectory)
|
fun setDriverDirectory(driverDirectory: Path) = copy(driverDirectory = driverDirectory)
|
||||||
fun setPortAllocation(portAllocation: PortAllocation) = copy(portAllocation = portAllocation)
|
fun setPortAllocation(portAllocation: PortAllocation) = copy(portAllocation = portAllocation)
|
||||||
fun setDebugPortAllocation(debugPortAllocation: PortAllocation) = copy(debugPortAllocation = debugPortAllocation)
|
fun setDebugPortAllocation(debugPortAllocation: PortAllocation) = copy(debugPortAllocation = debugPortAllocation)
|
||||||
fun setExtraSystemProperties(extraSystemProperties: Map<String, String>) = copy(extraSystemProperties = extraSystemProperties)
|
fun setSystemProperties(systemProperties: Map<String, String>) = copy(systemProperties = systemProperties)
|
||||||
fun setUseTestClock(useTestClock: Boolean) = copy(useTestClock = useTestClock)
|
fun setUseTestClock(useTestClock: Boolean) = copy(useTestClock = useTestClock)
|
||||||
fun setInitialiseSerialization(initialiseSerialization: Boolean) = copy(initialiseSerialization = initialiseSerialization)
|
fun setInitialiseSerialization(initialiseSerialization: Boolean) = copy(initialiseSerialization = initialiseSerialization)
|
||||||
fun setStartNodesInProcess(startNodesInProcess: Boolean) = copy(startNodesInProcess = startNodesInProcess)
|
fun setStartNodesInProcess(startNodesInProcess: Boolean) = copy(startNodesInProcess = startNodesInProcess)
|
||||||
|
@ -110,7 +110,7 @@ fun <A> rpcDriver(
|
|||||||
DriverDSLImpl(
|
DriverDSLImpl(
|
||||||
portAllocation = portAllocation,
|
portAllocation = portAllocation,
|
||||||
debugPortAllocation = debugPortAllocation,
|
debugPortAllocation = debugPortAllocation,
|
||||||
extraSystemProperties = systemProperties,
|
systemProperties = systemProperties,
|
||||||
driverDirectory = driverDirectory.toAbsolutePath(),
|
driverDirectory = driverDirectory.toAbsolutePath(),
|
||||||
useTestClock = useTestClock,
|
useTestClock = useTestClock,
|
||||||
isDebug = isDebug,
|
isDebug = isDebug,
|
||||||
|
@ -6,7 +6,6 @@ mainClassName = 'com.r3.corda.jmeter.Launcher'
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':client:rpc')
|
compile project(':client:rpc')
|
||||||
compile project(':perftestcordapp')
|
|
||||||
|
|
||||||
// https://mvnrepository.com/artifact/com.jcraft/jsch
|
// https://mvnrepository.com/artifact/com.jcraft/jsch
|
||||||
compile group: 'com.jcraft', name: 'jsch', version: '0.1.54'
|
compile group: 'com.jcraft', name: 'jsch', version: '0.1.54'
|
||||||
|
Loading…
Reference in New Issue
Block a user