mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
Test fix and review fix.
This commit is contained in:
parent
6cd692776f
commit
8f326824f3
@ -25,8 +25,8 @@ class CordaRPCClientTest {
|
||||
val driverStarted = CountDownLatch(1)
|
||||
driverThread = thread {
|
||||
driver {
|
||||
val nodeInfo = startNode().get()
|
||||
client = CordaRPCClient(toHostAndPort(nodeInfo.address), configureTestSSL())
|
||||
val driverInfo = startNode().get()
|
||||
client = CordaRPCClient(toHostAndPort(driverInfo.nodeInfo.address), configureTestSSL())
|
||||
driverStarted.countDown()
|
||||
stopDriver.await()
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ class FullNodeConfiguration(config: Config) : NodeConfiguration {
|
||||
}
|
||||
if (networkMapAddress == null) advertisedServices.add(ServiceInfo(NetworkMapService.type))
|
||||
val networkMapMessageAddress: SingleMessageRecipient? = if (networkMapAddress == null) null else NodeMessagingClient.makeNetworkMapAddress(networkMapAddress!!)
|
||||
return if(clockClass != null) {
|
||||
return if (clockClass != null) {
|
||||
Node(this, networkMapMessageAddress, advertisedServices, Class.forName(clockClass).newInstance() as Clock)
|
||||
} else {
|
||||
Node(this, networkMapMessageAddress, advertisedServices)
|
||||
|
Loading…
Reference in New Issue
Block a user