elasticsearch/rest-api-spec/test/update
Boaz Leskes 051beb51a3 Version types EXTERNAL & EXTERNAL_GTE test for version equality in read operation & disallow them in the Update API
Separate version check logic for reads and writes for all version types, which allows different behavior in these cases.
Change `VersionType.EXTERNAL` & `VersionType.EXTERNAL_GTE` to behave the same as `VersionType.INTERNAL` for read operations.
The previous behavior was fit for writes but is useless in reads.

This commit also makes the usage of `EXTERNAL` & `EXTERNAL_GTE` in the update api raise a validation error as it make cause data to
be lost.

Closes #5663 , Closes #5661, Closes #5929
2014-04-25 23:06:12 +02:00
..
10_doc.yaml Changed the ignore_missing client parameter to ignore: 404 2013-09-09 23:36:45 +02:00
15_script.yaml Changed the ignore_missing client parameter to ignore: 404 2013-09-09 23:36:45 +02:00
20_doc_upsert.yaml Renamed "ok" and "not_ok" to "is_true" and "is_false" 2013-07-01 15:58:23 +02:00
22_doc_as_upsert.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
25_script_upsert.yaml Added tests for update() 2013-06-28 19:44:13 +02:00
30_internal_version.yaml Version types EXTERNAL & EXTERNAL_GTE test for version equality in read operation & disallow them in the Update API 2014-04-25 23:06:12 +02:00
35_other_versions.yaml Version types EXTERNAL & EXTERNAL_GTE test for version equality in read operation & disallow them in the Update API 2014-04-25 23:06:12 +02:00
40_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
50_parent.yaml [TEST] remove old tests from yaml test suite 2014-01-07 16:19:06 +01:00
55_parent_with_routing.yaml [TEST] Replaced RestTestSuiteRunner with parametrized test that uses RandomizedRunner directly 2014-04-07 17:08:05 +02:00
60_refresh.yaml [TEST] decreased number of replicas to 0 in refresh tests 2014-03-31 11:28:34 +02:00
70_timestamp.yaml Renamed "ok" and "not_ok" to "is_true" and "is_false" 2013-07-01 15:58:23 +02:00
75_ttl.yaml [TEST] Fixed TTL tests for create, index, update 2014-03-31 15:13:14 +02:00
80_fields.yaml [TEST] Fix yaml tests after #4542 2014-01-07 16:06:25 +01:00
85_fields_meta.yaml Fixed incorrect test names in "Update" fields / meta-fields tests 2013-09-09 23:36:44 +02:00
90_missing.yaml Changed the ignore_missing client parameter to ignore: 404 2013-09-09 23:36:45 +02:00
TODO.txt Added tests for update() 2013-06-28 19:44:13 +02:00