mirror of
https://github.com/corda/corda.git
synced 2025-06-22 09:08:49 +00:00
RPC: call close() on startup failure, add thread leak tests
This commit is contained in:
@ -194,7 +194,7 @@ fun <A> rpcDriver(
|
||||
debugPortAllocation: PortAllocation = globalDebugPortAllocation,
|
||||
systemProperties: Map<String, String> = emptyMap(),
|
||||
useTestClock: Boolean = false,
|
||||
networkMapStrategy: NetworkMapStrategy = FalseNetworkMap,
|
||||
networkMapStartStrategy: NetworkMapStartStrategy = FalseNetworkMap,
|
||||
dsl: RPCDriverExposedDSLInterface.() -> A
|
||||
) = genericDriver(
|
||||
driverDsl = RPCDriverDSL(
|
||||
@ -204,7 +204,7 @@ fun <A> rpcDriver(
|
||||
systemProperties = systemProperties,
|
||||
driverDirectory = driverDirectory.toAbsolutePath(),
|
||||
useTestClock = useTestClock,
|
||||
networkMapStrategy = networkMapStrategy,
|
||||
networkMapStartStrategy = networkMapStartStrategy,
|
||||
isDebug = isDebug
|
||||
)
|
||||
),
|
||||
|
Reference in New Issue
Block a user