OpenSearch/rest-api-spec/test/delete/26_external_gte_version.yaml

54 lines
1.1 KiB
YAML
Raw Normal View History

---
"External GTE version":
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }
version_type: external_gte
version: 5
- match: { _version: 5}
- do:
catch: conflict
delete:
index: test_1
type: test
id: 1
version_type: external_gte
version: 4
- do:
delete:
index: test_1
type: test
id: 1
version_type: external_gte
version: 6
- match: { _version: 6}
- do:
index:
index: test_1
type: test
id: 1
body: { foo: bar }
version_type: external_gte
version: 6
- match: { _version: 6}
- do:
delete:
index: test_1
type: test
id: 1
version_type: external_gte
version: 6
- match: { _version: 6}