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-29357][SQL][TESTS] Fix flaky test by changing to use AtomicLong #26020

Closed
wants to merge 1 commit into from

Conversation

xuanyuanking
Copy link
Member

What changes were proposed in this pull request?

Change to use AtomicLong instead of a var in the test.

Why are the changes needed?

Fix flaky test.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UT.

Copy link
Member

@gatorsmile gatorsmile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SparkQA
Copy link

SparkQA commented Oct 4, 2019

Test build #111765 has finished for PR 26020 at commit 1fb18fa.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@gatorsmile
Copy link
Member

retest this please

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xuanyuanking, can you file a new JIRA for trackability? SPARK-25159 was fixed in 2.4.0 and fixed version of the JIRA gets confused when this is merged.

@xuanyuanking xuanyuanking changed the title [SPARK-25159][Follow Up] Fix flaky test by changing to use AtomicLong [SPARK-29357][TESTS] Fix flaky test by changing to use AtomicLong Oct 4, 2019
@xuanyuanking
Copy link
Member Author

Sure, fill the new JIRA SPARK-29357 to track this.

@SparkQA
Copy link

SparkQA commented Oct 4, 2019

Test build #111769 has finished for PR 26020 at commit 1fb18fa.

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

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-29357][TESTS] Fix flaky test by changing to use AtomicLong [SPARK-29357][SQL][TESTS] Fix flaky test by changing to use AtomicLong Oct 4, 2019
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Merged to master.

@xuanyuanking
Copy link
Member Author

Thanks!

@xuanyuanking xuanyuanking deleted the SPARK-25159 branch October 5, 2019 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants