Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11286#discussion_r53569281
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/CheckpointSuite.scala ---
    @@ -133,6 +133,17 @@ trait DStreamCheckpointTester { self: SparkFunSuite =>
         new StreamingContext(SparkContext.getOrCreate(conf), batchDuration)
       }
     
    +  /**
    +   * Get the first TestOutputStreamWithPartitions, does not check the 
provided generic type.
    +   */
    +  protected def getTestOutputStream[V: ClassTag](streams: 
Array[DStream[_]]):
    +    TestOutputStreamWithPartitions[V] = {
    +    streams.collect{
    --- End diff --
    
    Seems OK. I was going to ask if you can use `find()` here but I don't think 
it quite applies in the same way. Let's see if Jenkins makes you put a space 
before the brace


---
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]

Reply via email to