mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Fixing test clock cordformation dsl
This commit is contained in:
parent
b9ef1f1ade
commit
c7fedb95f8
@ -75,8 +75,8 @@ class Node {
|
||||
config = config.withValue("useHTTPS", ConfigValueFactory.fromAnyRef(isHttps))
|
||||
}
|
||||
|
||||
void useTestClock() {
|
||||
config = config.withValue("useTestClock", ConfigValueFactory.fromAnyRef(true))
|
||||
void useTestClock(Boolean useTestClock) {
|
||||
config = config.withValue("useTestClock", ConfigValueFactory.fromAnyRef(useTestClock))
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -89,7 +89,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
|
||||
artemisPort 10002
|
||||
webPort 10003
|
||||
cordapps = []
|
||||
useTestClock()
|
||||
useTestClock true
|
||||
}
|
||||
node {
|
||||
name "Bank A"
|
||||
@ -99,7 +99,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
|
||||
artemisPort 10004
|
||||
webPort 10005
|
||||
cordapps = []
|
||||
useTestClock()
|
||||
useTestClock true
|
||||
}
|
||||
node {
|
||||
name "Bank B"
|
||||
@ -109,7 +109,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
|
||||
artemisPort 10006
|
||||
webPort 10007
|
||||
cordapps = []
|
||||
useTestClock()
|
||||
useTestClock true
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user