Skip to content

Commit c37e83d

Browse files
committed
IndexApiMatchers - update prefix of ES deprecation logs DS name
elastic/elasticsearch#125606
1 parent 3200d12 commit c37e83d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

security/src/test/java/com/floragunn/searchguard/test/IndexApiMatchers.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,8 @@ protected boolean matchesByIndices(Collection<?> collection, Description mismatc
272272

273273
if (containsSearchGuardIndices && (index.startsWith(".searchguard") || index.equals("searchguard"))) {
274274
seenSearchGuardIndicesBuilder.add(index);
275-
} else if (containsEsInternalIndices && (index.startsWith(".logs-deprecation") || index.startsWith(".ds-.logs-deprecation"))) {
275+
} else if (containsEsInternalIndices && (index.startsWith(".logs-deprecation") || index.startsWith(".ds-.logs-deprecation")
276+
|| index.startsWith(".logs-elasticsearch.deprecation") || index.startsWith(".ds-.logs-elasticsearch.deprecation"))) {
276277
// We will just ignore these, as they actually might not exist on embedded clusters
277278
} else if (index.startsWith(".ds-")) {
278279
// We do a special treatment for data stream backing indices. We convert these to the normal data streams if expected indices contains these.

0 commit comments

Comments
 (0)