Skip to content

Commit 3f5f518

Browse files
committed
Fix test
1 parent f828d6c commit 3f5f518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/cluster/metadata/DataStreamGlobalRetentionSettingsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public void testCombinationValidation() {
176176
clusterSettings.applySettings(newValidSettings);
177177
assertThat(dataStreamGlobalRetentionSettings.getDefaultRetention(true), equalTo(TimeValue.timeValueDays(90)));
178178
assertThat(
179-
dataStreamGlobalRetentionSettings.getDefaultRetention(true),
179+
dataStreamGlobalRetentionSettings.get(true),
180180
equalTo(DataStreamGlobalRetention.create(null, TimeValue.timeValueDays(30)))
181181
);
182182
}

0 commit comments

Comments
 (0)