Skip to content

Commit 2cae185

Browse files
authored
Allow decimal max_task_wait_time in docs (#51352)
The regex for the response to `GET _cat/health?v` in `getting-started.asciidoc` requires `max_task_wait_time` to match `(-|\\d+(micros|ms|s))`, which doesn't match times such as `3.9ms` that contain a decimal point. This commit adjusts the regex to match times formatted like this too. Fixes #47537
1 parent 44d5ad9 commit 2cae185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/getting-started.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ epoch timestamp cluster status node.total node.data shards pri relo i
180180
--------------------------------------------------
181181
// TESTRESPONSE[s/1565052807 00:53:27 elasticsearch/\\d+ \\d+:\\d+:\\d+ integTest/]
182182
// TESTRESPONSE[s/3 3 6 3/\\d+ \\d+ \\d+ \\d+/]
183-
// TESTRESPONSE[s/0 0 -/0 \\d+ (-|\\d+(micros|ms|s))/]
183+
// TESTRESPONSE[s/0 0 -/0 \\d+ (-|\\d+(\.\\d+)?(micros|ms|s))/]
184184
// TESTRESPONSE[non_json]
185185
+
186186
NOTE: The cluster status will remain yellow if you are only running a single

0 commit comments

Comments
 (0)