From 00efe8593e51d04419987c264642fd156db03ac5 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Thu, 7 May 2015 16:36:55 +0200 Subject: [PATCH] REST tests: Add a real bulk body to the hijack tests The Java REST runner expects a real body for the bulk API, rather than an empty array Original commit: elastic/x-pack-elasticsearch@86dc149ff723b8f0635c0353259caf5c63b8bea1 --- rest-api-spec/test/hijack/10_basic.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/test/hijack/10_basic.yaml b/rest-api-spec/test/hijack/10_basic.yaml index 78359e60a29..e7a937263b1 100644 --- a/rest-api-spec/test/hijack/10_basic.yaml +++ b/rest-api-spec/test/hijack/10_basic.yaml @@ -39,10 +39,15 @@ bulk: index: ".watches" type: "watch" - body: [] + body: + - { "index": {}} + - {} + - do: catch: /not supported/ bulk: index: ".watches" - body: [] + body: + - { "index": {}} + - {}