Skip to content

[SPARK-29139][CORE][TESTS] Increase timeout to wait for executor(s) to be up in SparkContextSuite#25864

Closed
HeartSaVioR wants to merge 1 commit into
apache:masterfrom
HeartSaVioR:SPARK-29139
Closed

[SPARK-29139][CORE][TESTS] Increase timeout to wait for executor(s) to be up in SparkContextSuite#25864
HeartSaVioR wants to merge 1 commit into
apache:masterfrom
HeartSaVioR:SPARK-29139

Conversation

@HeartSaVioR

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This patch proposes to increase timeout to wait for executor(s) to be up in SparkContextSuite, as we observed these tests failed due to wait timeout.

Why are the changes needed?

There's some case that CI build is extremely slow which requires 3x or more time to pass the test.
(https://issues.apache.org/jira/browse/SPARK-29139?focusedCommentId=16934034&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16934034)

Allocating higher timeout wouldn't bring additional latency, as the code checks the condition with sleeping 10 ms per loop iteration.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N/A, as the case is not likely to be occurred frequently.

@HeartSaVioR

Copy link
Copy Markdown
Contributor Author

@dongjoon-hyun

Copy link
Copy Markdown
Member

Please use [TESTS] when the PR touches only src/test files.

@HeartSaVioR HeartSaVioR changed the title [SPARK-29139][CORE] Increase timeout to wait for executor(s) to be up in SparkContextSuite [SPARK-29139][CORE][TESTS] Increase timeout to wait for executor(s) to be up in SparkContextSuite Sep 20, 2019
@SparkQA

SparkQA commented Sep 20, 2019

Copy link
Copy Markdown

Test build #111044 has finished for PR 25864 at commit 17417fb.

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

@HeartSaVioR

Copy link
Copy Markdown
Contributor Author

retest this, please

@SparkQA

SparkQA commented Sep 20, 2019

Copy link
Copy Markdown

Test build #111050 has finished for PR 25864 at commit 17417fb.

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

@dongjoon-hyun

Copy link
Copy Markdown
Member

Merged to master.

@dongjoon-hyun

Copy link
Copy Markdown
Member

Thank you, @HeartSaVioR , @HyukjinKwon , @srowen .

@HeartSaVioR

Copy link
Copy Markdown
Contributor Author

Thanks all for reviewing and merging!

@HeartSaVioR HeartSaVioR deleted the SPARK-29139 branch September 20, 2019 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants