From 99abb76c786b331e03e2ab6ee9a7091e52b43b8f Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Fri, 13 Nov 2015 09:31:44 -0500 Subject: [PATCH] Fix cat shards test bug --- .../main/resources/rest-api-spec/test/cat.shards/10_basic.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml index 34887d424f4..47552e74d17 100755 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml @@ -109,7 +109,7 @@ h: index,state,sync_id - match: $body: | - /^(sync_id_test\s+(STARTED\s+[A-Za-z0-9_\-]{20}|UNASSIGNED\s+)\s+\n){10}$/ + /^(sync_id_test\s+(STARTED\s+[A-Za-z0-9_\-]{20}|(INITIALIZING|UNASSIGNED)\s+)\s+\n){10}$/ - do: indices.delete: