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

    https://github.com/apache/spark/pull/5559#discussion_r28641631
  
    --- Diff: 
streaming/src/test/scala/org/apache/spark/streaming/ReceiverSuite.scala ---
    @@ -176,7 +176,7 @@ class ReceiverSuite extends TestSuiteBase with Timeouts 
with Serializable {
           blockGenerator.addData(count)
           generatedData += count
           count += 1
    -      Thread.sleep(1)
    +      Thread.`yield`()
    --- End diff --
    
    Thanks for the suggestion; I'll experiment with a sleep time that's a 
scaled version of the original specification, since I'm not trying to 
meaningfully change the test, just tighten it up a bit.
    



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