Github user juanrh commented on a diff in the pull request:
https://github.com/apache/spark/pull/19583#discussion_r148079448
--- Diff: core/src/test/scala/org/apache/spark/HeartbeatReceiverSuite.scala
---
@@ -225,6 +270,7 @@ class HeartbeatReceiverSuite
Matchers.eq(Array(1L -> metrics.accumulators())),
Matchers.eq(blockManagerId))
}
+ expectedUpdatedEpoch.foreach{_ => assert(response.updatedEpoch ===
expectedUpdatedEpoch)}
--- End diff --
you are right, I was only thinking on the positive case
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]