Skip to content

Conversation

@yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented Apr 25, 2020

What changes were proposed in this pull request?

Fix flakiness by checking 1970/01/01 instead of 1970.
The test was added by SPARK-27125 for 3.0.0.

Why are the changes needed?

the org.apache.spark.sql.execution.ui.AllExecutionsPageSuite.SPARK-27019:correctly display SQL page when event reordering happens test is flaky for just checking the html content not containing 1970. I will add a ticket to check and fix that.
In the specific failure https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/121799/testReport, it failed because the html

...
<td sorttable_customkey="1587806019707">
...

contained 1970.

Does this PR introduce any user-facing change?

no

How was this patch tested?

passing jenkins

@yaooqinn
Copy link
Member Author

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

Makes sense, pending tests. This should backport all the way to 2.4?

@yaooqinn
Copy link
Member Author

yaooqinn commented Apr 25, 2020

thanks @srowen, SPARK-27125 seems only to be fixed in 3.0.0 via #24052

@srowen
Copy link
Member

srowen commented Apr 25, 2020

OK so needs to go into 3.0

@SparkQA
Copy link

SparkQA commented Apr 25, 2020

Test build #121807 has finished for PR 28344 at commit bacc0b2.

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

dongjoon-hyun pushed a commit that referenced this pull request Apr 25, 2020
### What changes were proposed in this pull request?

Fix flakiness by checking `1970/01/01` instead of `1970`.
The test was added by SPARK-27125 for 3.0.0.

### Why are the changes needed?

the `org.apache.spark.sql.execution.ui.AllExecutionsPageSuite.SPARK-27019:correctly display SQL page when event reordering happens` test is flaky for just checking the `html` content not containing 1970. I will add a ticket to check and fix that.
In the specific failure https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/121799/testReport, it failed because the `html`

```
...
<td sorttable_customkey="1587806019707">
...

```
contained `1970`.

### Does this PR introduce any user-facing change?

no

### How was this patch tested?

passing jenkins

Closes #28344 from yaooqinn/SPARK-31564.

Authored-by: Kent Yao <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 7959808)
Signed-off-by: Dongjoon Hyun <[email protected]>
@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Apr 25, 2020

Thank you all. Merged to master/3.0.

@yaooqinn
Copy link
Member Author

Thanks for merging @dongjoon-hyun. BTW, 2.4 should be 3.0.

@dongjoon-hyun
Copy link
Member

Right. Thank you. I fixed now.

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