We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e72e3d commit c728320Copy full SHA for c728320
src/test/scala/io/iohk/ethereum/network/PeerStatisticsSpec.scala
@@ -48,7 +48,9 @@ class PeerStatisticsSpec
48
49
val statA = stats.stats(alice)
50
statA.responsesReceived shouldBe 2
51
- statA.lastSeenTimeMillis shouldBe >(statA.firstSeenTimeMillis)
+ // @dv: the corner case when responses are received simultaneously
52
+ // can ruin the tests for no reason
53
+ statA.lastSeenTimeMillis shouldBe >=(statA.firstSeenTimeMillis)
54
55
val statB = stats.stats(bob)
56
statB.responsesReceived shouldBe 1
0 commit comments