Fixed bad YAML in rest tests
This commit is contained in:
parent
1d648a3d46
commit
e5f99e0bde
|
@ -277,7 +277,8 @@
|
||||||
h: [index, docs]
|
h: [index, docs]
|
||||||
s: [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: |
|
$body: |
|
||||||
/^ foo \s+ 0\n
|
/^ foo \s+ 0\n
|
||||||
bar \s+ 1\n
|
bar \s+ 1\n
|
||||||
|
|
|
@ -61,7 +61,8 @@
|
||||||
cat.templates: {}
|
cat.templates: {}
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
$body: /
|
$body: >
|
||||||
|
/
|
||||||
(^|\n)test \s+
|
(^|\n)test \s+
|
||||||
\[test-\*\] \s+
|
\[test-\*\] \s+
|
||||||
0 \s+
|
0 \s+
|
||||||
|
@ -70,7 +71,8 @@
|
||||||
/
|
/
|
||||||
|
|
||||||
- match:
|
- match:
|
||||||
$body: /
|
$body: >
|
||||||
|
/
|
||||||
(^|\n)test_2 \s+
|
(^|\n)test_2 \s+
|
||||||
\[test-2\*\] \s+
|
\[test-2\*\] \s+
|
||||||
1 \s+
|
1 \s+
|
||||||
|
|
|
@ -64,8 +64,9 @@
|
||||||
---
|
---
|
||||||
"Test get a default settings":
|
"Test get a default settings":
|
||||||
|
|
||||||
|
# this can't be bumped to 5.0.2 until snapshots are published
|
||||||
- skip:
|
- 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
|
reason: Fetching default group setting was buggy until 5.0.3
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
|
|
|
@ -4,9 +4,9 @@ setup:
|
||||||
index: test_1
|
index: test_1
|
||||||
body:
|
body:
|
||||||
aliases:
|
aliases:
|
||||||
alias_1: {
|
alias_1:
|
||||||
"filter" : { "term" : { "foo" : "bar"} }
|
"filter" : { "term" : { "foo" : "bar"} }
|
||||||
}
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
index: test_1
|
index: test_1
|
||||||
|
|
|
@ -6,9 +6,9 @@ setup:
|
||||||
settings:
|
settings:
|
||||||
number_of_replicas: 0
|
number_of_replicas: 0
|
||||||
aliases:
|
aliases:
|
||||||
alias_1: {
|
alias_1:
|
||||||
"filter" : { "match_all" : {} }
|
"filter" : { "match_all" : {} }
|
||||||
}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
"Validate query api":
|
"Validate query api":
|
||||||
|
|
Loading…
Reference in New Issue