Skip to content

Commit 3e06f08

Browse files
author
Christoph Büscher
committed
Muting RoundingTests#testRandomTimeIntervalRounding
1 parent b517d4d commit 3e06f08

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/src/test/java/org/elasticsearch/common/RoundingTests.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ public void testIntervalRounding_HalfDay_DST() {
395395
assertThat(rounding.round(time("2016-03-28T13:00:00+02:00")), isDate(time("2016-03-28T12:00:00+02:00"), tz));
396396
}
397397

398+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/63467")
398399
public void testRandomTimeIntervalRounding() {
399400
for (int i = 0; i < 1000; i++) {
400401
int unitCount = randomIntBetween(1, 365);
@@ -768,7 +769,7 @@ public void testDST_America_St_Johns() {
768769

769770
/**
770771
* Tests for DST transitions that cause the rounding to jump "backwards" because they round
771-
* from one back to the previous day. Usually these rounding start before
772+
* from one back to the previous day. Usually these rounding start before
772773
*/
773774
public void testForwardsBackwardsTimeZones() {
774775
for (String zoneId : JAVA_ZONE_IDS) {
@@ -1075,7 +1076,7 @@ private static boolean isTimeWithWellDefinedRounding(ZoneId tz, long t) {
10751076
if (tz.getId().equals("Pacific/Guam") || tz.getId().equals("Pacific/Saipan")) {
10761077
// Clocks went back at 00:01 in 1969, causing overlapping days.
10771078
return t <= time("1969-01-25T00:00:00Z")
1078-
|| t >= time("1969-01-26T00:00:00Z");
1079+
|| t >= time("1969-01-26T00:00:00Z");
10791080
}
10801081

10811082
return true;

0 commit comments

Comments
 (0)