Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/9765#discussion_r47823739
--- Diff:
streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala ---
@@ -715,6 +736,35 @@ class CheckpointSuite extends TestSuiteBase with
DStreamCheckpointTester {
}
}
+ test("DStreamCheckpointData.restore invoking times") {
+ var clock: ManualClock = null
+ val outputBuffer = new ArrayBuffer[Seq[Seq[Int]]] with
SynchronizedBuffer[Seq[Seq[Int]]]
--- End diff --
You can remove `outputBuffer` and change `val outputStream = new
TestOutputStreamWithPartitions(mappedDStream, outputBuffer)` to `val
outputStream = new TestOutputStreamWithPartitions(mappedDStream)` since the
output buffer is not necessary now.
---
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]