From 0c8b3b87067a29c5324faa6b5ac79589c61d34ea Mon Sep 17 00:00:00 2001 From: dblock Date: Thu, 14 Nov 2024 14:59:19 -0500 Subject: [PATCH] Added tests for PUT /_bulk/stream. Signed-off-by: dblock --- tests/plugins/streaming/_core/bulk/stream.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/plugins/streaming/_core/bulk/stream.yaml b/tests/plugins/streaming/_core/bulk/stream.yaml index 7560ea715..a35c98f05 100644 --- a/tests/plugins/streaming/_core/bulk/stream.yaml +++ b/tests/plugins/streaming/_core/bulk/stream.yaml @@ -15,6 +15,15 @@ chapters: payload: - {create: {_index: movies}} - {director: Bennett Miller, title: Moneyball, year: 2011} + - synopsis: Update an index. + version: '>= 2.17' + path: /_bulk/stream + method: PUT + request: + content_type: application/x-ndjson + payload: + - {create: {_index: movies}} + - {director: Bennett Miller, title: Drive, year: 2011} - synopsis: Delete document in an index. version: '2.17' path: /_bulk/stream