diff --git a/modules/mapper-extras/src/test/resources/rest-api-spec/test/dense-vector/20_special_cases.yml b/modules/mapper-extras/src/test/resources/rest-api-spec/test/dense-vector/20_special_cases.yml index 59c11d81fcc1b..0520fe792e175 100644 --- a/modules/mapper-extras/src/test/resources/rest-api-spec/test/dense-vector/20_special_cases.yml +++ b/modules/mapper-extras/src/test/resources/rest-api-spec/test/dense-vector/20_special_cases.yml @@ -11,6 +11,8 @@ setup: body: settings: number_of_replicas: 0 + # we need to have 1 shard to get request failure in test "Dense vectors should error with sparse vector functions" + number_of_shards: 1 mappings: properties: my_dense_vector: @@ -125,10 +127,6 @@ setup: --- "Dense vectors should error with sparse vector functions": -- skip: - version: "all" - reason: "awaits fix in #39218" - - do: index: index: test-index diff --git a/modules/mapper-extras/src/test/resources/rest-api-spec/test/sparse-vector/20_special_cases.yml b/modules/mapper-extras/src/test/resources/rest-api-spec/test/sparse-vector/20_special_cases.yml index cfc23a522bee1..3b128ccaf802e 100644 --- a/modules/mapper-extras/src/test/resources/rest-api-spec/test/sparse-vector/20_special_cases.yml +++ b/modules/mapper-extras/src/test/resources/rest-api-spec/test/sparse-vector/20_special_cases.yml @@ -11,6 +11,8 @@ setup: body: settings: number_of_replicas: 0 + # we need to have 1 shard to get request failure in test "Sparse vectors should error with dense vector functions" + number_of_shards: 1 mappings: properties: my_sparse_vector: @@ -176,10 +178,6 @@ setup: --- "Sparse vectors should error with dense vector functions": -- skip: - version: "all" - reason: "awaits fix in #39218" - - do: index: index: test-index