Skip to content

Commit

Permalink
Ignore Antarctica/Vostok timezone differences (#104610)
Browse files Browse the repository at this point in the history
Antarctica/Vostok, it has been updated by tzdata 2023d, which leads to different timezone offsets between joda and the jdk
  • Loading branch information
thecoop committed Jan 25, 2024
1 parent c0277f8 commit 76be62a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class DateUtilsTests extends ESTestCase {

// A temporary list of zones and JDKs, where Joda and the JDK timezone data are out of sync, until either Joda or the JDK
// are updated, see https://github.com/elastic/elasticsearch/issues/82356
private static final Set<String> IGNORE_IDS = new HashSet<>(Arrays.asList("Pacific/Niue", "America/Pangnirtung"));
private static final Set<String> IGNORE_IDS = new HashSet<>(Arrays.asList("Pacific/Niue", "America/Pangnirtung", "Antarctica/Vostok"));

private static boolean maybeIgnore(String jodaId) {
if (IGNORE_IDS.contains(jodaId)) {
Expand All @@ -59,7 +59,6 @@ private static boolean maybeIgnore(String jodaId) {
return false;
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/104544")
public void testTimezoneIds() {
assertNull(DateUtils.dateTimeZoneToZoneId(null));
assertNull(DateUtils.zoneIdToDateTimeZone(null));
Expand Down

0 comments on commit 76be62a

Please sign in to comment.