瀏覽代碼

Change test tear down to only remove resources created by the test (#98060)

Mary Gouseti 2 年之前
父節點
當前提交
09d396a91f

+ 2 - 2
docs/reference/data-streams/change-mappings-and-settings.asciidoc

@@ -74,9 +74,9 @@ PUT /_data_stream/new-data-stream
 
 [source,console]
 ----
-DELETE /_data_stream/*
+DELETE /_data_stream/my-data-stream*,new-data-stream*
 
-DELETE /_index_template/*
+DELETE /_index_template/my-data-stream-template,new-data-stream-template
 
 DELETE /_ilm/policy/my-data-stream-policy
 ----

+ 2 - 2
docs/reference/data-streams/use-a-data-stream.asciidoc

@@ -43,9 +43,9 @@ PUT /my-data-stream/_create/bfspvnIBr7VVZlfp2lqX?refresh=wait_for
 
 [source,console]
 ----
-DELETE /_data_stream/*
+DELETE /_data_stream/my-data-stream*
 
-DELETE /_index_template/*
+DELETE /_index_template/my-data-stream-template
 ----
 // TEARDOWN
 ////

+ 2 - 2
docs/reference/indices/data-stream-stats.asciidoc

@@ -41,8 +41,8 @@ POST /my-data-stream-two/_rollover/
 ////
 [source,console]
 ----
-DELETE /_data_stream/*
-DELETE /_index_template/*
+DELETE /_data_stream/my-data-stream*
+DELETE /_index_template/template
 ----
 // TEARDOWN
 ////