Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scriptfield test: set number of shards to 1 (elastic#80026) (elastic#…
…80032) The 20_scriptfield:"Scripted Field with error accessing an unsupported field via the script fields api" test expects to fail because the field is not yet supported in the fields API. However, if the number of shards in the target index is randomly more than one, the empty shard will succeed leading to a 200 response rather than the expected 400 response. This change forces the number of shards to 1 to avoid this scenario. Fixes: elastic#79986 Backport: 9511c54
- Loading branch information