Commit 4490219
authored
Run 25_id_generation with and without synthetic id (elastic#142770)
* Run 25_id_generation with and without synthetic id
Add 25_id_generation_synthetic_id.yml as copy of 25_id_generation.yml
but with index.mapping.synthetic_id=true and updated expected id value.
Add synthetic id feature flag to ClientYamlTestSuiteIT
Harden 25_id_generation.yml to use synthetic_id=false
* Rename 25_id_generation_synthetic_id -> 26_id_...
* yaml tsdb/25_id_generation backwards compatible
Because tsdb/25_id_generation also runs in mixed and backwards
compatible cluster we cannot use synthetic_id setting at all unless the
cluster has cluster_features: "index.time_series_synthetic_id".
Introduce tsdb/26_id_generation_synthetic_id_false that specifically set
the setting to false and otherwise keep the behaviour from
25_generation_id.
26_id_generation_synthetic_id.yml is renamed to
27_id_generation_synthetic_id_true.yml
TL;DR:
Version <9.4 run 25_id_generation.yml
Version >=9.4 run 26_id_generation_synthetic_id_synthetic_false.yml and
27_id_generation_synthetic_id_true.yml1 parent dc07161 commit 4490219
File tree
4 files changed
+1029
-0
lines changed- rest-api-spec/src/yamlRestTest
- java/org/elasticsearch/test/rest
- resources/rest-api-spec/test/tsdb
4 files changed
+1029
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| |||
0 commit comments