Add a new "contains" feature (#34738)
The contains syntax was added in #30874 but the skips were not properly put in place. The java runner has the feature so the tests will run as part of the build, but language clients will be able to support it at their own pace.
This commit is contained in:
parent
153157e56d
commit
59536966c2
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Matrix Aggs Plugin
|
||||
#
|
||||
"Matrix stats aggs loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"Module loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"Ingest common installed":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Expression scripts
|
||||
#
|
||||
"Expression loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Mustache scripts
|
||||
#
|
||||
"Mustache loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Painless Plugin
|
||||
#
|
||||
"Painless plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -103,6 +103,9 @@ teardown:
|
|||
|
||||
---
|
||||
"Module repository-url is loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Netty transport
|
||||
#
|
||||
"Netty loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Azure Classic Discovery component
|
||||
#
|
||||
"Discovery Azure Classic loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Discovery EC2 component
|
||||
#
|
||||
"Discovery EC2 loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for Discovery GCE components
|
||||
#
|
||||
"Discovery GCE loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# tests that the custom suggester plugin is installed
|
||||
---
|
||||
"plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for the painless whitelist example plugin
|
||||
#
|
||||
"Plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for the expert scoring script example plugin
|
||||
#
|
||||
"Plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for the expert scoring script example plugin
|
||||
#
|
||||
"Plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"Ingest attachment plugin installed":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"Ingest plugin installed":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
"ingest-user-agent plugin installed":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for repository-azure
|
||||
#
|
||||
"Plugin repository-azure is loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for repository-gcs
|
||||
#
|
||||
"Plugin repository-gcs is loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
# Check plugin is installed
|
||||
#
|
||||
"Plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
# Check plugin is installed
|
||||
#
|
||||
"Plugin loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for repository-s3
|
||||
#
|
||||
"Plugin repository-s3 is loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for SMB Store component
|
||||
#
|
||||
"SMB Store loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
|
@ -46,7 +46,9 @@ public final class Features {
|
|||
"stash_in_path",
|
||||
"stash_path_replace",
|
||||
"warnings",
|
||||
"yaml"));
|
||||
"yaml",
|
||||
"contains"
|
||||
));
|
||||
|
||||
private Features() {
|
||||
|
||||
|
|
|
@ -202,6 +202,9 @@ teardown:
|
|||
---
|
||||
|
||||
"Test get_user_privileges for single role":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
headers: { Authorization: "Basic dGVzdC0xOjEyMzQ1Njc4" } # test-1
|
||||
xpack.security.get_user_privileges: {}
|
||||
|
@ -261,6 +264,9 @@ teardown:
|
|||
---
|
||||
|
||||
"Test get_user_privileges for merged roles":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
headers: { Authorization: "Basic dGVzdC0zOjEyMzQ1Njc4" } # test-3
|
||||
xpack.security.get_user_privileges: {}
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
# Integration tests for monitoring
|
||||
#
|
||||
"X-Pack loaded":
|
||||
- skip:
|
||||
reason: "contains is a newly added assertion"
|
||||
features: contains
|
||||
- do:
|
||||
cluster.state: {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue