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-18954][Tests]Fix flaky test: o.a.s.streaming.BasicOperationsSuite rdd cleanup - map and window #16362

Closed
wants to merge 1 commit into from

Conversation

zsxwing
Copy link
Member

@zsxwing zsxwing commented Dec 20, 2016

What changes were proposed in this pull request?

The issue in this test is the cleanup of RDDs may not be able to finish before stopping StreamingContext. This PR basically just puts the assertions into eventually and runs it before stopping StreamingContext.

How was this patch tested?

Jenkins

@zsxwing
Copy link
Member Author

zsxwing commented Dec 20, 2016

For reviewer: use this link to ignore space changes: https://github.com/apache/spark/pull/16362/files?w=1

@zsxwing zsxwing changed the title [SPARK-18954]Fix flaky test: o.a.s.streaming.BasicOperationsSuite rdd cleanup - map and window [SPARK-18954][Tests]Fix flaky test: o.a.s.streaming.BasicOperationsSuite rdd cleanup - map and window Dec 20, 2016
@SparkQA
Copy link

SparkQA commented Dec 21, 2016

Test build #70438 has finished for PR 16362 at commit fbe62e3.

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

@tdas
Copy link
Contributor

tdas commented Dec 21, 2016

LGTM. Did you run it many times?

@zsxwing
Copy link
Member Author

zsxwing commented Dec 21, 2016

Thanks! Just ran it 100 times locally and it didn't fail. Merging to master, 2.1 and 2.0.

asfgit pushed a commit that referenced this pull request Dec 21, 2016
…uite rdd cleanup - map and window

## What changes were proposed in this pull request?

The issue in this test is the cleanup of RDDs may not be able to finish before stopping StreamingContext. This PR basically just puts the assertions into `eventually` and runs it before stopping StreamingContext.

## How was this patch tested?

Jenkins

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #16362 from zsxwing/SPARK-18954.

(cherry picked from commit 078c71c)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
asfgit pushed a commit that referenced this pull request Dec 21, 2016
…uite rdd cleanup - map and window

## What changes were proposed in this pull request?

The issue in this test is the cleanup of RDDs may not be able to finish before stopping StreamingContext. This PR basically just puts the assertions into `eventually` and runs it before stopping StreamingContext.

## How was this patch tested?

Jenkins

Author: Shixiong Zhu <shixiong@databricks.com>

Closes #16362 from zsxwing/SPARK-18954.

(cherry picked from commit 078c71c)
Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
@asfgit asfgit closed this in 078c71c Dec 21, 2016
@zsxwing zsxwing deleted the SPARK-18954 branch December 22, 2016 03:46
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…uite rdd cleanup - map and window

## What changes were proposed in this pull request?

The issue in this test is the cleanup of RDDs may not be able to finish before stopping StreamingContext. This PR basically just puts the assertions into `eventually` and runs it before stopping StreamingContext.

## How was this patch tested?

Jenkins

Author: Shixiong Zhu <shixiong@databricks.com>

Closes apache#16362 from zsxwing/SPARK-18954.
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