mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
CORDA-1461 Fix smoke tests (#3150)
This commit is contained in:
parent
d0d07287e7
commit
26c6ba6118
@ -48,7 +48,8 @@ public class StandaloneCordaRPCJavaClientTest {
|
||||
port.getAndIncrement(),
|
||||
port.getAndIncrement(),
|
||||
true,
|
||||
Collections.singletonList(rpcUser)
|
||||
Collections.singletonList(rpcUser),
|
||||
true
|
||||
);
|
||||
|
||||
@Before
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user