mirror of
https://github.com/corda/corda.git
synced 2025-05-30 06:04:24 +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))
|
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))
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user