Skip to content

Commit e4b0116

Browse files
committed
Test timig fix
1 parent ceab17d commit e4b0116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/io/iohk/ethereum/network/discovery/PeerDiscoveryManagerSpec.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class PeerDiscoveryManagerSpec extends FlatSpec with Matchers with MockFactory w
4444

4545
val expectedFindNodeResponse = SendMessage(FindNode(ByteString(nodeStatus.nodeId), expectedTime), remoteUdpAddress)
4646

47+
Thread.sleep(500)
4748
dicoveryListner.expectMsg(expectedFindNodeResponse)
48-
4949
discoveryPeerManager.underlyingActor.nodesInfo.size shouldEqual 2
5050
discoveryPeerManager.underlyingActor.nodesInfo.values.toSet should contain (nodeInfo)
5151
}

0 commit comments

Comments
 (0)