CORDA-1095: Fixed rare race where the startNode future completes before the default notary is visible (#2947)

This commit is contained in:
Shams Asari
2018-04-11 15:33:55 +01:00
committed by GitHub
parent b46c3b89bd
commit f88542faa2
9 changed files with 130 additions and 137 deletions

View File

@ -34,7 +34,6 @@ class TraderDemoTest {
startFlow<CommercialPaperIssueFlow>(),
all()))
driver(DriverParameters(startNodesInProcess = true, extraCordappPackagesToScan = listOf("net.corda.finance"))) {
defaultNotaryNode.getOrThrow()
val (nodeA, nodeB, bankNode) = listOf(
startNode(providedName = DUMMY_BANK_A_NAME, rpcUsers = listOf(demoUser)),
startNode(providedName = DUMMY_BANK_B_NAME, rpcUsers = listOf(demoUser)),