Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/7323#discussion_r34252269
--- Diff:
streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala ---
@@ -467,10 +470,10 @@ class CheckpointSuite extends TestSuiteBase {
ssc.start()
// Verify that the clock has traveled forward to the expected time
eventually(eventuallyTimeout) {
- clock.getTimeMillis() === oldClockTime
+ assert(clock.getTimeMillis() === oldClockTime)
}
- // Wait for pre-failure batch to be recomputed (3 while SSC was
down plus last batch)
- val numBatchesAfterRestart = 4
--- End diff --
The previous codes will set the clock to 14000ms. But actually there are 5
batches here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]