[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.
/^
( \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
$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
/^
( \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
