[SECURITY] Changed the setup/teardown YAML structure in the integration test for roles

Related: 176fd6a

Original commit: elastic/x-pack-elasticsearch@90e210dbc2
This commit is contained in:
Karel Minarik 2016-06-30 11:22:38 +02:00 committed by jaymode
parent 6d535043f8
commit 67706a9a19
1 changed files with 24 additions and 23 deletions

View File

@ -1,14 +1,10 @@
---
"Test put role api using as array of index names":
- skip:
features: headers
- setup:
setup:
- do:
cluster.health:
wait_for_status: yellow
- teardown:
teardown:
- do:
xpack.security.delete_role:
name: "admin_role2"
@ -26,6 +22,11 @@
id: 1
ignore: 404
---
"Test put role api using as array of index names":
- skip:
features: headers
- do:
xpack.security.put_role:
name: "admin_role2"