Skip to content

Commit

Permalink
Allowing _cat/allocation to return more than 0 shards in test (#85459)
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Mar 29, 2022
1 parent 36e196d commit 7166d3e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
- match:
$body: |
/^
( \d \s+ #usually 0, unless some system index has been recreated before this runs
( \d+ \s+ #usually 0, unless some system index has been recreated before this runs
\d+(\.\d+)?[kmgt]?b \s+
\d+(\.\d+)?[kmgt]?b \s+
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
Expand Down Expand Up @@ -116,7 +116,7 @@
$body: |
/^
( \s* #allow leading spaces to account for right-justified text
\d+ \s+
\d+ \s+ #usually 0, unless some system index has been recreated before this runs
\d+(\.\d+)?[kmgt]?b \s+
\d+(\.\d+)?[kmgt]?b \s+
(\d+(\.\d+)?[kmgt]b \s+)? #no value from client nodes
Expand Down Expand Up @@ -156,8 +156,8 @@
\n
( \s* #allow leading spaces to account for right-justified text
0 \s+
0b \s+
\d+ \s+ #usually 0, unless some system index has been recreated before this runs
\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
Expand Down Expand Up @@ -216,7 +216,7 @@
- match:
$body: |
/^
( \d \s+ #usually 0, unless some system index has been recreated before this runs
( \d+ \s+ #usually 0, unless some system index has been recreated before this runs
0 \s+
\d+ \s+
(\d+ \s+) #always should return value since we filter out non data nodes by default
Expand Down

0 comments on commit 7166d3e

Please sign in to comment.