[TEST] fix _cat/allocation index size check
The check expected the size of the index to always be returned in bytes, but that can possibly be kb, mb, gb and tb depending on the actual size.
This commit is contained in:
parent
0fef5acd01
commit
7863407b46
|
@ -54,7 +54,7 @@
|
|||
/^
|
||||
( \s* #allow leading spaces to account for right-justified text
|
||||
\d+ \s+
|
||||
\d+(\.\d+)?b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
(\d+(\.\d+)?[kmgt]b \s+) #always should return value since we filter out non data nodes by default
|
||||
(\d+(\.\d+)?[kmgt]b \s+) #always should return value since we filter out non data nodes by default
|
||||
|
@ -83,7 +83,7 @@
|
|||
$body: |
|
||||
/^
|
||||
( 0 \s+
|
||||
0b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
|
||||
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
|
||||
|
@ -117,7 +117,7 @@
|
|||
/^
|
||||
( \s* #allow leading spaces to account for right-justified text
|
||||
\d+ \s+
|
||||
\d+(\.\d+)?b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
\d+(\.\d+)?[kmgt]?b \s+
|
||||
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
|
||||
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
|
||||
|
|
Loading…
Reference in New Issue