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

    https://github.com/apache/spark/pull/10779#discussion_r50298208
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/scheduler/ReceiverTrackerSuite.scala
 ---
    @@ -34,8 +34,6 @@ class ReceiverTrackerSuite extends TestSuiteBase {
     
       test("send rate update to receivers") {
         withStreamingContext(new StreamingContext(conf, Milliseconds(100))) { 
ssc =>
    -      ssc.scheduler.listenerBus.start(ssc.sc)
    --- End diff --
    
    I see.
    
    RateController only monitors `StreamingListenerBatchCompleted`. But in this 
test, no StreamingListenerBatchCompleted is emitted. So this line is not 
necessary. 


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