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

    https://github.com/apache/spark/pull/6707#discussion_r32367807
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/ReceivedBlockTrackerSuite.scala
 ---
    @@ -225,7 +225,7 @@ class ReceivedBlockTrackerSuite
       /** Generate blocks infos using random ids */
       def generateBlockInfos(): Seq[ReceivedBlockInfo] = {
         List.fill(5)(ReceivedBlockInfo(streamId, Some(0L), None,
    -      BlockManagerBasedStoreResult(StreamBlockId(streamId, 
math.abs(Random.nextInt)))))
    +      BlockManagerBasedStoreResult(StreamBlockId(streamId, 
math.abs(Random.nextInt)), Some(0L))))
    --- End diff --
    
    I did not change the Random.nextInt. Just added 0 as 
BlockManagerBasedStoreResult now takes the recordCount. This testcase is for 
testing the recordcount 0 which @zsxwing did, which I changed after the merge.


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