File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
test_elasticsearch_serverless Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -95,8 +95,6 @@ def wipe_indices(client):
9595
9696
9797def wipe_xpack_templates (client ):
98- # Delete component templates, need to retry because sometimes
99- # indices aren't cleaned up in time before we issue the delete.
10098 templates = client .cluster .get_component_template ()["component_templates" ]
10199 templates_to_delete = [
102100 template ["name" ]
@@ -135,7 +133,7 @@ def is_xpack_template(name):
135133 return True
136134 elif name .startswith ("entities_v1_" ):
137135 return True
138- if name in {
136+ return name in {
139137 "apm-10d@lifecycle" ,
140138 "apm-180d@lifecycle" ,
141139 "apm-390d@lifecycle" ,
@@ -153,6 +151,7 @@ def is_xpack_template(name):
153151 "logs@mappings" ,
154152 "logs-settings" ,
155153 "logs@settings" ,
154+ "logs-fleet_server.output_health" ,
156155 "metrics-apm@mappings" ,
157156 "metrics-apm.service_destination@mappings" ,
158157 "metrics-apm.service_summary@mappings" ,
@@ -165,6 +164,8 @@ def is_xpack_template(name):
165164 "metrics@settings" ,
166165 "metrics-tsdb-settings" ,
167166 "metrics@tsdb-settings" ,
167+ "metrics-fleet_server.agent_status" ,
168+ "metrics-fleet_server.agent_versions" ,
168169 "synthetics-mappings" ,
169170 "synthetics@mappings" ,
170171 "synthetics-settings" ,
@@ -180,9 +181,7 @@ def is_xpack_template(name):
180181 "ecs-tsdb@mappings" ,
181182 "logs-otel@mappings" ,
182183 "otel@mappings" ,
183- }:
184- return True
185- return False
184+ }
186185
187186
188187def es_api_key () -> str :
You can’t perform that action at this time.
0 commit comments