From 4063995c389e4e483a7e49e06fd4a273bc7d0f5d Mon Sep 17 00:00:00 2001 From: Ali Beyad Date: Fri, 24 Feb 2017 13:01:46 -0500 Subject: [PATCH] [TEST] Removes timeout based wait_for_active_shards REST test This commit removes an necessary test that ensures if wait_for_active_shards cannot be fulfilled on index creation, that the response returns shardsAcknowledged=false. However, this is already tested in WaitForActiveShardsIT and it would improve the speed of the test runs to get rid of any unnecessary tests, especially those that depend on timeouts. --- .../test/indices.create/10_basic.yaml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml index 69d3d8e1ac8ff..4ea2c01dfb455 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml @@ -30,25 +30,6 @@ - match: { test_index.settings.index.number_of_replicas: "0"} ---- -"Create index with too large wait_for_active_shards": - - - do: - indices.create: - index: test_index - timeout: 300ms - master_timeout: 300ms - wait_for_active_shards: 6 - body: - settings: - number_of_replicas: 5 - - - match: { shards_acknowledged: false } - - - do: - cluster.health: - wait_for_events: urgent - --- "Create index with wait_for_active_shards set to all":