2014-08-22 05:13:58 -04:00
|
|
|
---
|
|
|
|
"Test cat indices output":
|
|
|
|
|
|
|
|
- do:
|
2014-12-12 08:51:20 -05:00
|
|
|
cat.indices:
|
|
|
|
v: false
|
2014-08-22 05:13:58 -04:00
|
|
|
|
|
|
|
- match:
|
|
|
|
$body: |
|
|
|
|
/^$/
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.create:
|
|
|
|
index: index1
|
|
|
|
body:
|
|
|
|
settings:
|
|
|
|
number_of_shards: "1"
|
|
|
|
number_of_replicas: "0"
|
|
|
|
- do:
|
|
|
|
cluster.health:
|
|
|
|
wait_for_status: yellow
|
|
|
|
- do:
|
2014-12-12 08:51:20 -05:00
|
|
|
cat.indices:
|
|
|
|
v: false
|
2014-08-22 05:13:58 -04:00
|
|
|
|
|
|
|
- match:
|
|
|
|
$body: |
|
2014-08-25 10:13:16 -04:00
|
|
|
/^(green \s+
|
2014-09-30 12:06:41 -04:00
|
|
|
(open|close) \s+
|
2014-08-25 10:13:16 -04:00
|
|
|
index1 \s+
|
|
|
|
1 \s+
|
|
|
|
0 \s+
|
|
|
|
0 \s+
|
|
|
|
0 \s+
|
|
|
|
(\d+|\d+[.]\d+)(kb|b) \s+
|
|
|
|
(\d+|\d+[.]\d+)(kb|b) \s*
|
|
|
|
)
|
|
|
|
$/
|