Fixed bad YAML in rest tests
This commit is contained in:
parent
1d648a3d46
commit
e5f99e0bde
|
@ -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
|
||||
|
|
|
@ -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+
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -4,9 +4,9 @@ setup:
|
|||
index: test_1
|
||||
body:
|
||||
aliases:
|
||||
alias_1: {
|
||||
alias_1:
|
||||
"filter" : { "term" : { "foo" : "bar"} }
|
||||
}
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -6,9 +6,9 @@ setup:
|
|||
settings:
|
||||
number_of_replicas: 0
|
||||
aliases:
|
||||
alias_1: {
|
||||
alias_1:
|
||||
"filter" : { "match_all" : {} }
|
||||
}
|
||||
|
||||
|
||||
---
|
||||
"Validate query api":
|
||||
|
|
Loading…
Reference in New Issue