CORDA-1461 Fix smoke tests (#3150)

This commit is contained in:
Tudor Malene 2018-05-15 13:25:28 +01:00 committed by GitHub
parent d0d07287e7
commit 26c6ba6118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -48,7 +48,8 @@ public class StandaloneCordaRPCJavaClientTest {
port.getAndIncrement(),
port.getAndIncrement(),
true,
Collections.singletonList(rpcUser)
Collections.singletonList(rpcUser),
true
);
@Before

View File

@ -15,7 +15,8 @@ class NodeConfig(
val rpcPort: Int,
val rpcAdminPort: Int,
val isNotary: Boolean,
val users: List<User>
val users: List<User>,
val devMode: Boolean = true
) {
companion object {
val renderOptions: ConfigRenderOptions = ConfigRenderOptions.defaults().setOriginComments(false)
@ -38,6 +39,7 @@ class NodeConfig(
.root())
.withValue("rpcUsers", valueFor(users.map { it.toConfig().root().unwrapped() }.toList()))
.withValue("useTestClock", valueFor(true))
.withValue("devMode", valueFor(devMode))
return if (isNotary) {
config.withValue("notary", ConfigValueFactory.fromMap(mapOf("validating" to true)))
} else {