GitHub user zsxwing opened a pull request:

    https://github.com/apache/spark/pull/5995

    [Spark 7341][Streaming][Tests] Fix the flaky test: 
org.apache.spark.streaming.InputStreamsSuite.socket input stream (backport for 
branch 1.3)

    Remove non-deterministic "Thread.sleep" and use deterministic strategies to 
fix the flaky failure: 
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-Maven-pre-YARN/hadoop.version=1.0.4,label=centos/2127/testReport/junit/org.apache.spark.streaming/InputStreamsSuite/socket_input_stream/

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zsxwing/spark SPARK-7341-branch-1.3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5995.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5995
    
----
commit 0f09c2ac7fa6f8c17283145cf5c6786441cd9b6c
Author: zsxwing <[email protected]>
Date:   2015-05-05T09:15:39Z

    [SPARK-7341] [STREAMING] [TESTS] Fix the flaky test: 
org.apache.spark.stre...
    
    ...aming.InputStreamsSuite.socket input stream
    
    Remove non-deterministic "Thread.sleep" and use deterministic strategies to 
fix the flaky failure: 
https://amplab.cs.berkeley.edu/jenkins/job/Spark-Master-Maven-pre-YARN/hadoop.version=1.0.4,label=centos/2127/testReport/junit/org.apache.spark.streaming/InputStreamsSuite/socket_input_stream/
    
    Author: zsxwing <[email protected]>
    
    Closes #5891 from zsxwing/SPARK-7341 and squashes the following commits:
    
    611157a [zsxwing] Add wait methods to BatchCounter and use BatchCounter in 
InputStreamsSuite
    014b58f [zsxwing] Use withXXX to clean up the resources
    c9bf746 [zsxwing] Move 'waitForStart' into the 'start' method and fix the 
code style
    9d0de6d [zsxwing] [SPARK-7341][Streaming][Tests] Fix the flaky test: 
org.apache.spark.streaming.InputStreamsSuite.socket input stream
    
    (cherry picked from commit 4d29867ede9a87b160c3d715c1fb02067feef449)
    Signed-off-by: Tathagata Das <[email protected]>

----


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