GitHub user liancheng opened a pull request: https://github.com/apache/spark/pull/3060
[SQL] Fixes race condition in CliSuite `CliSuite` has been flaky for a while, this PR tries to improve this situation by fixing a race condition in `CliSuite`. The `captureOutput` function is used to capture both stdout and stderr output of the forked external process in two background threads and search for expected strings, but wasn't been properly synchronized before. You can merge this pull request into a Git repository by running: $ git pull https://github.com/liancheng/spark fix-cli-suite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3060.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 #3060 ---- commit a70569cc0a0f89433e61224732a3fe09aa2669f7 Author: Cheng Lian <l...@databricks.com> Date: 2014-11-02T10:00:47Z Fixes race condition in CliSuite ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org