Fixing test clock cordformation dsl

This commit is contained in:
Richard Green 2016-11-18 18:17:02 +00:00
parent b9ef1f1ade
commit c7fedb95f8
2 changed files with 5 additions and 5 deletions

View File

@ -75,8 +75,8 @@ class Node {
config = config.withValue("useHTTPS", ConfigValueFactory.fromAnyRef(isHttps)) config = config.withValue("useHTTPS", ConfigValueFactory.fromAnyRef(isHttps))
} }
void useTestClock() { void useTestClock(Boolean useTestClock) {
config = config.withValue("useTestClock", ConfigValueFactory.fromAnyRef(true)) config = config.withValue("useTestClock", ConfigValueFactory.fromAnyRef(useTestClock))
} }
/** /**

View File

@ -89,7 +89,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
artemisPort 10002 artemisPort 10002
webPort 10003 webPort 10003
cordapps = [] cordapps = []
useTestClock() useTestClock true
} }
node { node {
name "Bank A" name "Bank A"
@ -99,7 +99,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
artemisPort 10004 artemisPort 10004
webPort 10005 webPort 10005
cordapps = [] cordapps = []
useTestClock() useTestClock true
} }
node { node {
name "Bank B" name "Bank B"
@ -109,7 +109,7 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: [':install', 'buil
artemisPort 10006 artemisPort 10006
webPort 10007 webPort 10007
cordapps = [] cordapps = []
useTestClock() useTestClock true
} }
} }