Skip to content

Commit

Permalink
exclude system indices from cat itest
Browse files Browse the repository at this point in the history
Signed-off-by: bfindlay <[email protected]>
  • Loading branch information
Bfindlay committed Nov 27, 2023
1 parent 0c8ce3a commit 486a0b1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ public void testCatRecovery() throws Exception {
createIndex("test-cat-recovery-index");
RecoveryResponse recoveryResponse = javaClient().cat()
.recovery(
r -> r.headers(
r -> r.index("*,-.*") // exclude system indices
.headers(
"index,shard,type,stage,source_host,source_node,"
+ "target_host,target_node,repository,snapshot,files,files_recovered,files_percent,files_total"
).bytes(Bytes.Bytes)
Expand Down

0 comments on commit 486a0b1

Please sign in to comment.