Commit 1141ede
authored
Fix "create index with use_synthetic_source" yaml test. (elastic#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- rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.create
1 file changed
+3
-2
lines changedrest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.create/20_synthetic_source.yml
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2049 | 2049 | | |
2050 | 2050 | | |
2051 | 2051 | | |
2052 | | - | |
2053 | | - | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
0 commit comments