REST tests - add feature groovy_scripting to skip tests if groovy not enabled
This commit is contained in:
parent
36758ce81b
commit
93fe4495ae
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
"Indexed script":
|
||||
|
||||
- skip:
|
||||
features: groovy_scripting
|
||||
|
||||
- do:
|
||||
put_script:
|
||||
id: "1"
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
---
|
||||
"External version":
|
||||
|
||||
- skip:
|
||||
features: groovy_scripting
|
||||
|
||||
|
||||
- do:
|
||||
put_script:
|
||||
lang: groovy
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
"Script":
|
||||
|
||||
- skip:
|
||||
features: groovy_scripting
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
---
|
||||
"Script upsert":
|
||||
|
||||
- skip:
|
||||
features: groovy_scripting
|
||||
|
||||
- do:
|
||||
update:
|
||||
index: test_1
|
||||
|
@ -37,7 +40,7 @@
|
|||
id: 1
|
||||
|
||||
- match: { _source.foo: xxx }
|
||||
|
||||
|
||||
- do:
|
||||
update:
|
||||
index: test_1
|
||||
|
@ -57,4 +60,4 @@
|
|||
|
||||
- match: { _source.foo: xxx }
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -20,6 +20,9 @@
|
|||
---
|
||||
"Missing document (script)":
|
||||
|
||||
- skip:
|
||||
features: groovy_scripting
|
||||
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
|
|
Loading…
Reference in New Issue