From 7223e9959d58d6377fdd485d02e39eb9290c9c17 Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Thu, 17 Jul 2014 09:05:43 +0100 Subject: [PATCH] [TEST] Fixed intermittent failure due to lack of mapping --- .../test/search.aggregation/10_histogram.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rest-api-spec/test/search.aggregation/10_histogram.yaml b/rest-api-spec/test/search.aggregation/10_histogram.yaml index cefe6a4b33e..b70390f16ac 100644 --- a/rest-api-spec/test/search.aggregation/10_histogram.yaml +++ b/rest-api-spec/test/search.aggregation/10_histogram.yaml @@ -1,3 +1,17 @@ +setup: + - do: + indices.create: + index: test_1 + body: + mappings: + test: + "properties": + "number": + "type" : "integer" + - do: + cluster.health: + wait_for_status: green + --- "Basic test": - do: