Fix node heartbeat test (NetworkMapTest).

This commit is contained in:
Chris Rankin 2018-05-12 15:42:04 +01:00
parent b43a54326b
commit 6077a04ec2

View File

@ -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)