Update-by-query rest tests: fixed bad yaml and deleted a client-dependent test
This commit is contained in:
parent
ff3fd99074
commit
52daed0732
|
@ -20,7 +20,8 @@
|
||||||
- match: {noops: 0}
|
- match: {noops: 0}
|
||||||
- match: {throttled_millis: 0}
|
- match: {throttled_millis: 0}
|
||||||
- gte: { took: 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
|
- is_false: task
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -70,7 +71,8 @@
|
||||||
body: { "text": "test" }
|
body: { "text": "test" }
|
||||||
- do:
|
- do:
|
||||||
indices.refresh: {}
|
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:
|
||||||
index: test
|
index: test
|
||||||
type: foo
|
type: foo
|
||||||
|
@ -111,7 +113,8 @@
|
||||||
body: { "text": "test" }
|
body: { "text": "test" }
|
||||||
- do:
|
- do:
|
||||||
indices.refresh: {}
|
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:
|
||||||
index: test
|
index: test
|
||||||
type: foo
|
type: foo
|
||||||
|
|
|
@ -12,20 +12,6 @@
|
||||||
index: test
|
index: test
|
||||||
conflicts: cat
|
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":
|
"invalid size fails":
|
||||||
- do:
|
- do:
|
||||||
|
|
Loading…
Reference in New Issue