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
This commit is contained in:
David Turner 2020-01-24 08:58:18 +00:00
parent 0981a469ae
commit 40e7a826fc
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ epoch timestamp cluster status node.total node.data shards pri relo i
--------------------------------------------------
// TESTRESPONSE[s/1565052807 00:53:27 elasticsearch/\\d+ \\d+:\\d+:\\d+ integTest/]
// TESTRESPONSE[s/3 3 6 3/\\d+ \\d+ \\d+ \\d+/]
// TESTRESPONSE[s/0 0 -/0 \\d+ (-|\\d+(micros|ms|s))/]
// TESTRESPONSE[s/0 0 -/0 \\d+ (-|\\d+(\.\\d+)?(micros|ms|s))/]
// TESTRESPONSE[non_json]
+
NOTE: The cluster status will remain yellow if you are only running a single