Skip to content

Commit 8623573

Browse files
committed
set explicit number of shards for yaml test
1 parent 4d6a83e commit 8623573

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

x-pack/plugin/ml/qa/multi-cluster-tests-with-security/src/test/resources/rest-api-spec/test/multi_cluster/50_sparse_vector.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ teardown:
582582
indices.create:
583583
index: test-sparse-vector-pruning-default
584584
body:
585+
settings:
586+
number_of_shards: 1
585587
mappings:
586588
properties:
587589
content_embedding:

x-pack/plugin/ml/qa/multi-cluster-tests-with-security/src/test/resources/rest-api-spec/test/remote_cluster/50_sparse_vector.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,8 @@ teardown:
580580
indices.create:
581581
index: test-sparse-vector-pruning-default
582582
body:
583+
settings:
584+
number_of_shards: 1
583585
mappings:
584586
properties:
585587
content_embedding:

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/ml/sparse_vector_search.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,8 @@ teardown:
905905
indices.create:
906906
index: test-sparse-vector-pruning-default
907907
body:
908+
settings:
909+
number_of_shards: 1
908910
mappings:
909911
properties:
910912
content_embedding:

0 commit comments

Comments
 (0)