Skip to content

Commit 4c686ef

Browse files
Fixed the cat.health REST test to accept 4ms, not just 4.0ms (#28186)
1 parent 2d9c000 commit 4c686ef

File tree

1 file changed

+2
-2
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/cat.health

1 file changed

+2
-2
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
\d+ \s+ # init
4646
\d+ \s+ # unassign
4747
\d+ \s+ # pending_tasks
48-
(-|\d+[.]\d+ms|s) \s+ # max task waiting time
48+
(-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time
4949
\d+\.\d+% # active shards percent
5050
\n
5151
)+
@@ -72,7 +72,7 @@
7272
\d+ \s+ # init
7373
\d+ \s+ # unassign
7474
\d+ \s+ # pending_tasks
75-
(-|\d+[.]\d+ms|s) \s+ # max task waiting time
75+
(-|\d+(?:[.]\d+)?m?s) \s+ # max task waiting time
7676
\d+\.\d+% # active shards percent
7777
\n
7878
)+

0 commit comments

Comments
 (0)