test: put template api is deprecated, so take warnings into account

Relates to #25702
This commit is contained in:
Martijn van Groningen 2017-07-13 11:39:53 +02:00
parent 02fad9ac8c
commit a85b22b298
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
---
"Index data, search, and create things in the cluster state that we'll validate are there after the ugprade":
- skip:
features: warnings
- do:
indices.create:
index: test_index
@ -105,6 +108,8 @@
- match: { "acknowledged": true }
- do:
warnings:
- 'The stored search template API is deprecated. Use stored scripts instead.'
put_template:
id: test_search_template
body: