[TEST] Fix cat.recovery/10_basic.yaml to allow '-' in the hostname

This commit is contained in:
Simon Willnauer 2014-03-20 20:58:58 +01:00
parent 30532410bf
commit bea0dd7c75

View File

@ -1,7 +1,7 @@
---
setup:
- skip:
features: disabled
features: regex
---
"Test cat recovery output":
@ -27,5 +27,13 @@ setup:
cat.recovery: {}
- match:
$body: >
/^(index1\s+\d+\s+\d+\s+(gateway|replica|snapshot|relocating)\s+(init|index|start|translog|finalize|done)\s+([a-zA-Z_0-9/.])+\s+([a-zA-Z_0-9/.])+\s+([a-zA-Z_0-9/.])+\s+([a-zA-Z_0-9/.])+\s+\d+\s+\d+\.\d+\%\s+\d+\s+\d+\.\d+\%\s+\n?){1,}$/
/^(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+ \n?)
{1,}$/