Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-13601] [TESTS] use 1 partition in tests to avoid race conditions #11507

Closed
wants to merge 1 commit into from

Conversation

davies
Copy link
Contributor

@davies davies commented Mar 4, 2016

What changes were proposed in this pull request?

Fix race conditions when cleanup files.

How was this patch tested?

Existing tests.

@davies
Copy link
Contributor Author

davies commented Mar 4, 2016

cc @zsxwing

@zsxwing
Copy link
Member

zsxwing commented Mar 4, 2016

LGTM. Tested 20 times locally and all passed.

@davies
Copy link
Contributor Author

davies commented Mar 4, 2016

Thanks, I'm going to merge this to hotfix master (since we only touch the flaky tests here).

@asfgit asfgit closed this in d062587 Mar 4, 2016
asfgit pushed a commit that referenced this pull request Mar 4, 2016
Fix race conditions when cleanup files.

Existing tests.

Author: Davies Liu <davies@databricks.com>

Closes #11507 from davies/flaky.

(cherry picked from commit d062587)
Signed-off-by: Davies Liu <davies.liu@gmail.com>

Conflicts:
	sql/hive/src/test/scala/org/apache/spark/sql/sources/CommitFailureTestRelationSuite.scala
@SparkQA
Copy link

SparkQA commented Mar 4, 2016

Test build #52429 has finished for PR 11507 at commit 499bb8f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
## What changes were proposed in this pull request?

Fix race conditions when cleanup files.

## How was this patch tested?

Existing tests.

Author: Davies Liu <davies@databricks.com>

Closes apache#11507 from davies/flaky.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants