Skip to content

Commit fbb5ca2

Browse files
committed
SNAPSHOT Fix far future test in ILM
1 parent 9dc6f3f commit fbb5ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/slm/src/test/java/org/elasticsearch/xpack/slm/SnapshotLifecyclePolicyTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ public void testNextExecutionTimeSchedule() {
6464
SnapshotLifecyclePolicy p = new SnapshotLifecyclePolicy(
6565
"id",
6666
"name",
67-
"0 1 2 3 4 ? 2099",
67+
"0 1 2 3 4 ? 2049",
6868
"repo",
6969
Collections.emptyMap(),
7070
SnapshotRetentionConfiguration.EMPTY
7171
);
72-
assertThat(p.calculateNextExecution(-1, Clock.systemUTC()), equalTo(4078864860000L));
72+
assertThat(p.calculateNextExecution(-1, Clock.systemUTC()), equalTo(2501028060000L));
7373
}
7474

7575
public void testNextExecutionTimeInterval() {

0 commit comments

Comments
 (0)