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):
95
95
96
96
97
97
def 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.
100
98
templates = client .cluster .get_component_template ()["component_templates" ]
101
99
templates_to_delete = [
102
100
template ["name" ]
@@ -135,7 +133,7 @@ def is_xpack_template(name):
135
133
return True
136
134
elif name .startswith ("entities_v1_" ):
137
135
return True
138
- if name in {
136
+ return name in {
139
137
"apm-10d@lifecycle" ,
140
138
"apm-180d@lifecycle" ,
141
139
"apm-390d@lifecycle" ,
@@ -153,6 +151,7 @@ def is_xpack_template(name):
153
151
"logs@mappings" ,
154
152
"logs-settings" ,
155
153
"logs@settings" ,
154
+ "logs-fleet_server.output_health" ,
156
155
"metrics-apm@mappings" ,
157
156
"metrics-apm.service_destination@mappings" ,
158
157
"metrics-apm.service_summary@mappings" ,
@@ -165,6 +164,8 @@ def is_xpack_template(name):
165
164
"metrics@settings" ,
166
165
"metrics-tsdb-settings" ,
167
166
"metrics@tsdb-settings" ,
167
+ "metrics-fleet_server.agent_status" ,
168
+ "metrics-fleet_server.agent_versions" ,
168
169
"synthetics-mappings" ,
169
170
"synthetics@mappings" ,
170
171
"synthetics-settings" ,
@@ -180,9 +181,7 @@ def is_xpack_template(name):
180
181
"ecs-tsdb@mappings" ,
181
182
"logs-otel@mappings" ,
182
183
"otel@mappings" ,
183
- }:
184
- return True
185
- return False
184
+ }
186
185
187
186
188
187
def es_api_key () -> str :
You can’t perform that action at this time.
0 commit comments