From 0425f6a327c398ea81bf805302ca12251b6fd832 Mon Sep 17 00:00:00 2001 From: Henning Andersen <33268011+henningandersen@users.noreply.github.com> Date: Thu, 29 Aug 2019 07:51:46 +0200 Subject: [PATCH] Docs _cat/health verification fix (#46064) The _cat/health call in getting-started assumes that the master task max wait time is always 0 (-), however, the test could sometimes run into a short wait time (like some ms). Fixed to allow this. --- docs/reference/getting-started.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/getting-started.asciidoc b/docs/reference/getting-started.asciidoc index bd5be15104f..f91a60bb933 100755 --- a/docs/reference/getting-started.asciidoc +++ b/docs/reference/getting-started.asciidoc @@ -181,7 +181,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+ -/] +// TESTRESPONSE[s/0 0 -/0 \\d+ (-|\\d+(micros|ms|s))/] // TESTRESPONSE[non_json] + NOTE: The cluster status will remain yellow if you are only running a single