mirror of
https://github.com/corda/corda.git
synced 2025-02-15 15:12:46 +00:00
Fix node heartbeat test (NetworkMapTest).
This commit is contained in:
parent
b43a54326b
commit
6077a04ec2
@ -221,7 +221,7 @@ class NetworkMapTest : IntegrationTest() {
|
||||
initialiseSerialization = false,
|
||||
systemProperties = mapOf("net.corda.node.internal.nodeinfo.publish.interval" to 1.seconds.toString())
|
||||
) {
|
||||
val aliceNode = startNode(providedName = ALICE_NAME).getOrThrow()
|
||||
val aliceNode = startNode(providedName = ALICE_NAME, devMode = false).getOrThrow()
|
||||
assertThat(networkMapServer.networkMapHashes()).contains(aliceNode.nodeInfo.serialize().hash)
|
||||
networkMapServer.removeNodeInfo(aliceNode.nodeInfo)
|
||||
assertThat(networkMapServer.networkMapHashes()).doesNotContain(aliceNode.nodeInfo.serialize().hash)
|
||||
|
Loading…
x
Reference in New Issue
Block a user