Fixed bad YAML in rest tests

This commit is contained in:
Clinton Gormley 2017-04-02 12:47:46 +02:00
parent 1d648a3d46
commit e5f99e0bde
6 changed files with 17 additions and 13 deletions

View File

@ -277,7 +277,8 @@
h: [index, docs]
s: [docs]
- match: # don't use the store here it's cached and might be stale
# don't use the store here it's cached and might be stale
- match:
$body: |
/^ foo \s+ 0\n
bar \s+ 1\n

View File

@ -61,7 +61,8 @@
cat.templates: {}
- match:
$body: /
$body: >
/
(^|\n)test \s+
\[test-\*\] \s+
0 \s+
@ -70,7 +71,8 @@
/
- match:
$body: /
$body: >
/
(^|\n)test_2 \s+
\[test-2\*\] \s+
1 \s+

View File

@ -64,8 +64,9 @@
---
"Test get a default settings":
# this can't be bumped to 5.0.2 until snapshots are published
- skip:
version: " - 5.99.99" # this can't be bumped to 5.0.2 until snapshots are published
version: " - 5.99.99"
reason: Fetching default group setting was buggy until 5.0.3
- do:

View File

@ -4,9 +4,9 @@ setup:
index: test_1
body:
aliases:
alias_1: {
alias_1:
"filter" : { "term" : { "foo" : "bar"} }
}
- do:
index:
index: test_1

View File

@ -6,9 +6,9 @@ setup:
settings:
number_of_replicas: 0
aliases:
alias_1: {
alias_1:
"filter" : { "match_all" : {} }
}
---
"Validate query api":