2014-02-18 17:28:49 -05:00
|
|
|
---
|
|
|
|
"Test cat recovery output":
|
|
|
|
|
|
|
|
- do:
|
|
|
|
cat.recovery: {}
|
|
|
|
|
|
|
|
- match:
|
2014-05-02 18:27:40 -04:00
|
|
|
$body: |
|
2014-02-18 17:28:49 -05:00
|
|
|
/^$/
|
|
|
|
|
|
|
|
- do:
|
|
|
|
index:
|
|
|
|
index: index1
|
|
|
|
type: type1
|
|
|
|
id: 1
|
|
|
|
body: { foo: bar }
|
|
|
|
refresh: true
|
|
|
|
- do:
|
|
|
|
cluster.health:
|
|
|
|
wait_for_status: yellow
|
|
|
|
- do:
|
|
|
|
cat.recovery: {}
|
|
|
|
- match:
|
2014-05-02 18:27:40 -04:00
|
|
|
$body: |
|
2014-05-06 20:32:02 -04:00
|
|
|
/(?m)^(index1 \s+ \d+ \s+ \d+ \s+
|
|
|
|
(gateway|replica|snapshot|relocating) \s+
|
|
|
|
(init|index|start|translog|finalize|done) \s+
|
|
|
|
([-\w/.])+ \s+
|
|
|
|
([-\w/.])+ \s+
|
|
|
|
([-\w/.])+ \s+
|
|
|
|
([-\w/.])+ \s+
|
|
|
|
\d+ \s+ \d+\.\d+\% \s+
|
|
|
|
\d+ \s+ \d+\.\d+\% \s*)${1,}/
|
2014-02-18 17:28:49 -05:00
|
|
|
|