From bacc0b2f488157d1445de20c2fce1cb97a6ae91e Mon Sep 17 00:00:00 2001 From: Kent Yao Date: Sat, 25 Apr 2020 20:54:21 +0800 Subject: [PATCH] [SPARK-31564][TESTS] Fix flaky AllExecutionsPageSuite for checking 1970 --- .../apache/spark/sql/execution/ui/AllExecutionsPageSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/core/src/test/scala/org/apache/spark/sql/execution/ui/AllExecutionsPageSuite.scala b/sql/core/src/test/scala/org/apache/spark/sql/execution/ui/AllExecutionsPageSuite.scala index 298afa880c93..24b8a973ade3 100644 --- a/sql/core/src/test/scala/org/apache/spark/sql/execution/ui/AllExecutionsPageSuite.scala +++ b/sql/core/src/test/scala/org/apache/spark/sql/execution/ui/AllExecutionsPageSuite.scala @@ -57,7 +57,7 @@ class AllExecutionsPageSuite extends SharedSparkSession with BeforeAndAfter { val html = renderSQLPage(request, tab, statusStore).toString().toLowerCase(Locale.ROOT) assert(html.contains("failed queries")) - assert(!html.contains("1970")) + assert(!html.contains("1970/01/01")) } test("sorting should be successful") {