Skip to content

Commit

Permalink
Fix "create index with use_synthetic_source" yaml test. (#118946)
Browse files Browse the repository at this point in the history
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"
            }
          }
        ]
      }
    }
  }
}]
```
  • Loading branch information
martijnvg authored Dec 18, 2024
1 parent 31578be commit 1141ede
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2049,5 +2049,6 @@ create index with use_synthetic_source:
indices.disk_usage:
index: test
run_expensive_tasks: true
- gt: { test.fields.field.total_in_bytes: 0 }
- is_false: test.fields.field._recovery_source
flush: false
- gt: { test.store_size_in_bytes: 0 }
- is_false: test.fields._recovery_source

0 comments on commit 1141ede

Please sign in to comment.