Skip to content

Commit

Permalink
Do not run lookup index YAML with two shards (#115608)
Browse files Browse the repository at this point in the history
We can randomly inject a global template that defaults to 2 shards 
instead of 1. This causes the lookup index YAML tests to fail. To avoid 
this, the change requires specifying the default_shards setting for
these tests
  • Loading branch information
dnhatn authored Oct 24, 2024
1 parent c556a29 commit 5714b98
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
---
"Create lookup index":
- requires:
test_runner_features: [ capabilities ]
test_runner_features: [ capabilities, default_shards ]
capabilities:
- method: PUT
path: /{index}
Expand All @@ -176,7 +176,7 @@
---
"Create lookup index with one shard":
- requires:
test_runner_features: [ capabilities ]
test_runner_features: [ capabilities, default_shards ]
capabilities:
- method: PUT
path: /{index}
Expand Down

0 comments on commit 5714b98

Please sign in to comment.