Browse Source

Un-mute data stream REST test (#60120)

Dan Hermann 5 years ago
parent
commit
b459257278

+ 7 - 11
x-pack/plugin/data-streams/qa/rest/src/test/resources/rest-api-spec/test/data-streams/20_unsupported_apis.yml

@@ -41,6 +41,13 @@
       indices.delete:
         index: logs-foobar
 
+  # close request will not fail but will not match any data streams
+  - do:
+      indices.close:
+        index: logs-*
+  - is_true: acknowledged
+  - length: { indices: 0 }
+
   - do:
       indices.delete_data_stream:
         name: logs-foobar
@@ -84,17 +91,6 @@
         name: simple-data-stream1
   - is_true: acknowledged
 
----
-"APIs temporarily muted":
-  - skip:
-      version: "all"
-      reason: "restore to above test after data stream resolution PRs have been merged"
-
-  - do:
-      catch: bad_request
-      indices.close:
-        index: logs-*
-
 ---
 "Prohibit shrink on data stream's write index":
   - skip: