From 84c37227c223621e5041669adb01d9d129b79d0f Mon Sep 17 00:00:00 2001
From: dblock <dblock@amazon.com>
Date: Thu, 14 Nov 2024 14:59:19 -0500
Subject: [PATCH] Added tests for PUT /_bulk/stream.

Signed-off-by: dblock <dblock@amazon.com>
---
 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