Skip to content

Commit a35fb4f

Browse files
committed
[SPARK-29578][TESTS] Add "8634" as another skipped day for Kwajalein timzeone due to more recent timezone updates in later JDK 8
### What changes were proposed in this pull request? Recent timezone definition changes in very new JDK 8 (and beyond) releases cause test failures. The below was observed on JDK 1.8.0_232. As before, the easy fix is to allow for these inconsequential variations in test results due to differing definition of timezones. ### Why are the changes needed? Keeps test passing on the latest JDK releases. ### Does this PR introduce any user-facing change? None ### How was this patch tested? Existing tests Closes #26236 from srowen/SPARK-29578. Authored-by: Sean Owen <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 76d4beb commit a35fb4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/DateTimeUtilsSuite.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,12 +555,12 @@ class DateTimeUtilsSuite extends SparkFunSuite with Matchers {
555555

556556
// There are some days are skipped entirely in some timezone, skip them here.
557557
val skipped_days = Map[String, Set[Int]](
558-
"Kwajalein" -> Set(8632, 8633),
558+
"Kwajalein" -> Set(8632, 8633, 8634),
559559
"Pacific/Apia" -> Set(15338),
560560
"Pacific/Enderbury" -> Set(9130, 9131),
561561
"Pacific/Fakaofo" -> Set(15338),
562562
"Pacific/Kiritimati" -> Set(9130, 9131),
563-
"Pacific/Kwajalein" -> Set(8632, 8633),
563+
"Pacific/Kwajalein" -> Set(8632, 8633, 8634),
564564
"MIT" -> Set(15338))
565565
for (tz <- ALL_TIMEZONES) {
566566
val skipped = skipped_days.getOrElse(tz.getID, Set.empty)

0 commit comments

Comments
 (0)