Update-by-query rest tests: fixed bad yaml and deleted a client-dependent test

This commit is contained in:
Clinton Gormley 2016-03-29 14:56:22 +02:00
parent ff3fd99074
commit 52daed0732
2 changed files with 6 additions and 17 deletions

View File

@ -20,7 +20,8 @@
- match: {noops: 0}
- match: {throttled_millis: 0}
- gte: { took: 0 }
- is_false: created # Update by query can't create
# Update by query can't create
- is_false: created
- is_false: task
---
@ -70,7 +71,8 @@
body: { "text": "test" }
- do:
indices.refresh: {}
- do: # Creates a new version for reindex to miss on scan.
# Creates a new version for reindex to miss on scan.
- do:
index:
index: test
type: foo
@ -111,7 +113,8 @@
body: { "text": "test" }
- do:
indices.refresh: {}
- do: # Creates a new version for reindex to miss on scan.
# Creates a new version for reindex to miss on scan.
- do:
index:
index: test
type: foo

View File

@ -12,20 +12,6 @@
index: test
conflicts: cat
---
"invalid scroll_size fails":
- do:
index:
index: test
type: test
id: 1
body: { "text": "test" }
- do:
catch: /Failed to parse int parameter \[scroll_size\] with value \[cat\]/
update_by_query:
index: test
scroll_size: cat
---
"invalid size fails":
- do: