mirror of
https://github.com/corda/corda.git
synced 2025-06-16 22:28:15 +00:00
Fixed a few instances of waitUntilNetworkReady() to fix flaky tests. (#1785)
This commit is contained in:
committed by
Viktor Kolomeyko
parent
4fa63d07dd
commit
e6e3c29d74
@ -129,7 +129,7 @@ class AttachmentLoadingTests : TestDependencyInjectionBase() {
|
||||
startNode(providedName = bankBName, rpcUsers = listOf(adminUser)),
|
||||
startNode(providedName = notaryName, rpcUsers = listOf(adminUser), advertisedServices = setOf(ServiceInfo(SimpleNotaryService.type)))
|
||||
).transpose().getOrThrow() // Wait for all nodes to start up.
|
||||
nodes.forEach { it.rpc.waitUntilNetworkReady() }
|
||||
nodes.forEach { it.rpc.waitUntilNetworkReady().getOrThrow() }
|
||||
return nodes
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user