From b39a1a71d94729a5081195b10e44a37e428a438d Mon Sep 17 00:00:00 2001 From: sollecitom Date: Thu, 1 Mar 2018 17:41:35 +0000 Subject: [PATCH] Backported removed release notes entry. --- .../net/corda/testing/node/internal/DriverDSLImpl.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/DriverDSLImpl.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/DriverDSLImpl.kt index 677cc6de7a..c34ed8bd8e 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/DriverDSLImpl.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/DriverDSLImpl.kt @@ -544,9 +544,7 @@ class DriverDSLImpl( localNetworkMap, spec.rpcUsers, spec.verifierType, - customOverrides = notaryConfig(clusterAddress) + mapOf( - "database.serverNameTablePrefix" to nodeNames[0].toString().replace(Regex("[^0-9A-Za-z]+"), "") - ) + customOverrides = notaryConfig(clusterAddress) ) // All other nodes will join the cluster @@ -557,9 +555,7 @@ class DriverDSLImpl( localNetworkMap, spec.rpcUsers, spec.verifierType, - customOverrides = notaryConfig(nodeAddress, clusterAddress) + mapOf( - "database.serverNameTablePrefix" to it.toString().replace(Regex("[^0-9A-Za-z]+"), "") - ) + customOverrides = notaryConfig(nodeAddress, clusterAddress) ) }