Skip to content

Commit 486a0b1

Browse files
committed
exclude system indices from cat itest
Signed-off-by: bfindlay <[email protected]>
1 parent 0c8ce3a commit 486a0b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java-client/src/test/java/org/opensearch/client/opensearch/integTest/AbstractCatClientIT.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ public void testCatRecovery() throws Exception {
101101
createIndex("test-cat-recovery-index");
102102
RecoveryResponse recoveryResponse = javaClient().cat()
103103
.recovery(
104-
r -> r.headers(
104+
r -> r.index("*,-.*") // exclude system indices
105+
.headers(
105106
"index,shard,type,stage,source_host,source_node,"
106107
+ "target_host,target_node,repository,snapshot,files,files_recovered,files_percent,files_total"
107108
).bytes(Bytes.Bytes)

0 commit comments

Comments
 (0)