Skip to content

Commit 76be62a

Browse files
authored
Ignore Antarctica/Vostok timezone differences (#104610)
Antarctica/Vostok, it has been updated by tzdata 2023d, which leads to different timezone offsets between joda and the jdk
1 parent c0277f8 commit 76be62a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/src/test/java/org/elasticsearch/common/time/DateUtilsTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class DateUtilsTests extends ESTestCase {
5050

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

5555
private static boolean maybeIgnore(String jodaId) {
5656
if (IGNORE_IDS.contains(jodaId)) {
@@ -59,7 +59,6 @@ private static boolean maybeIgnore(String jodaId) {
5959
return false;
6060
}
6161

62-
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/104544")
6362
public void testTimezoneIds() {
6463
assertNull(DateUtils.dateTimeZoneToZoneId(null));
6564
assertNull(DateUtils.zoneIdToDateTimeZone(null));

0 commit comments

Comments
 (0)