Skip to content

Commit 1141ede

Browse files
authored
Fix "create index with use_synthetic_source" yaml test. (#118946)
The `flush` param defaults to `true` and some environments don't support that. Setting `flush` param to `false` to fix this. ``` [2024-12-18T19:51:01,213][INFO ][c.e.e.q.r.ServerlessClientYamlTestSuiteIT] [test] Stash dump on test failure [{ "stash" : { "body" : { "_shards" : { "total" : 3, "successful" : 0, "failed" : 3, "failures" : [ { "shard" : 0, "index" : "test", "status" : "BAD_REQUEST", "reason" : { "type" : "illegal_argument_exception", "reason" : "Search engine does not support acquiring last index commit with flush_first" } } ] } } } }] ```
1 parent 31578be commit 1141ede

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.create/20_synthetic_source.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,5 +2049,6 @@ create index with use_synthetic_source:
20492049
indices.disk_usage:
20502050
index: test
20512051
run_expensive_tasks: true
2052-
- gt: { test.fields.field.total_in_bytes: 0 }
2053-
- is_false: test.fields.field._recovery_source
2052+
flush: false
2053+
- gt: { test.store_size_in_bytes: 0 }
2054+
- is_false: test.fields._recovery_source

0 commit comments

Comments
 (0)