|
@@ -77,8 +77,7 @@
|
|
|
"Test cat shards output":
|
|
|
|
|
|
- do:
|
|
|
- cat.shards:
|
|
|
- v: false
|
|
|
+ cat.shards: {}
|
|
|
|
|
|
- match:
|
|
|
$body: |
|
|
@@ -95,8 +94,7 @@
|
|
|
cluster.health:
|
|
|
wait_for_status: yellow
|
|
|
- do:
|
|
|
- cat.shards:
|
|
|
- v: false
|
|
|
+ cat.shards: {}
|
|
|
|
|
|
- match:
|
|
|
$body: |
|
|
@@ -115,8 +113,7 @@
|
|
|
wait_for_relocating_shards: 0
|
|
|
|
|
|
- do:
|
|
|
- cat.shards:
|
|
|
- v: false
|
|
|
+ cat.shards: {}
|
|
|
- match:
|
|
|
$body: |
|
|
|
/^(index(1|2) \s+ \d \s+ (p|r) \s+ ((STARTED|INITIALIZING|RELOCATING) \s+ (\d \s+ (\d+|\d+[.]\d+)(kb|b) \s+)? \d{1,3}.\d{1,3}.\d{1,3}.\d{1,3} \s+ .+|UNASSIGNED \s+) \n?){15}$/
|
|
@@ -124,7 +121,6 @@
|
|
|
- do:
|
|
|
cat.shards:
|
|
|
index: index2
|
|
|
- v: false
|
|
|
- match:
|
|
|
$body: |
|
|
|
/^(index2 \s+ \d \s+ (p|r) \s+ ((STARTED|INITIALIZING|RELOCATING) \s+ (\d \s+ (\d+|\d+[.]\d+)(kb|b) \s+)? \d{1,3}.\d{1,3}.\d{1,3}.\d{1,3} \s+ .+|UNASSIGNED \s+) \n?){5}$/
|
|
@@ -146,8 +142,6 @@
|
|
|
- do:
|
|
|
cat.shards:
|
|
|
index: index3
|
|
|
- v: false
|
|
|
- match:
|
|
|
$body: |
|
|
|
/^(index3 \s+ \d \s+ (p|s) \s+ ((STARTED|INITIALIZING|RELOCATING) \s+ (\d \s+ (\d+|\d+[.]\d+)(kb|b) \s+)? \d{1,3}.\d{1,3}.\d{1,3}.\d{1,3} \s+ .+|UNASSIGNED \s+) \n?){2}$/
|
|
|
-
|