Skip to content

Commit 9dc7294

Browse files
committed
Fix unit test
1 parent 47a34f8 commit 9dc7294

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/test/java/org/elasticsearch/action/admin/indices/resolve/ResolveIndexTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ public void testResolveHiddenProperlyWithDateMath() {
243243
String tomorrowSuffix = dateFormatter.format(now.plus(Duration.ofDays(1L)));
244244
Object[][] indices = new Object[][] {
245245
// name, isClosed, isHidden, isFrozen, dataStream, aliases
246-
{ "logs-pgsql-prod-" + todaySuffix, false, true, false, false, null, Strings.EMPTY_ARRAY },
247-
{ "logs-pgsql-prod-" + tomorrowSuffix, false, true, false, false, null, Strings.EMPTY_ARRAY } };
246+
{ "logs-pgsql-prod-" + todaySuffix, false, true, false, false, null, Strings.EMPTY_ARRAY, IndexMode.STANDARD },
247+
{ "logs-pgsql-prod-" + tomorrowSuffix, false, true, false, false, null, Strings.EMPTY_ARRAY, IndexMode.STANDARD } };
248248
final ProjectMetadata project = buildProjectMetadata(randomProjectIdOrDefault(), new Object[][] {}, indices).build();
249249
String[] requestedIndex = new String[] { "<logs-pgsql-prod-{now/d}>" };
250250
Set<ResolvedExpression> resolvedIndices = resolver.resolveExpressions(

0 commit comments

Comments
 (0)