File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
test_elasticsearch_serverless Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -121,18 +121,16 @@ def wipe_transforms(client: Elasticsearch, timeout=30):
121121
122122
123123def is_xpack_template (name ):
124- if name .startswith (".alerts-" ):
125- return True
126- elif name .startswith (".kibana-data-quality-dashboard-" ):
127- return True
128- elif name .startswith (".kibana-elastic-ai-assistant-component-template-" ):
124+ if name .startswith ("." ):
129125 return True
130126 elif name .startswith ("behavioral_analytics-events" ):
131127 return True
132128 elif name .startswith ("elastic-connectors-" ):
133129 return True
134130 elif name .startswith ("entities_v1_" ):
135131 return True
132+ elif "fleet_server" in name :
133+ return True
136134 return name in {
137135 "apm-10d@lifecycle" ,
138136 "apm-180d@lifecycle" ,
@@ -151,7 +149,6 @@ def is_xpack_template(name):
151149 "logs@mappings" ,
152150 "logs-settings" ,
153151 "logs@settings" ,
154- "logs-fleet_server.output_health" ,
155152 "metrics-apm@mappings" ,
156153 "metrics-apm.service_destination@mappings" ,
157154 "metrics-apm.service_summary@mappings" ,
@@ -164,8 +161,6 @@ def is_xpack_template(name):
164161 "metrics@settings" ,
165162 "metrics-tsdb-settings" ,
166163 "metrics@tsdb-settings" ,
167- "metrics-fleet_server.agent_status" ,
168- "metrics-fleet_server.agent_versions" ,
169164 "synthetics-mappings" ,
170165 "synthetics@mappings" ,
171166 "synthetics-settings" ,
You can’t perform that action at this time.
0 commit comments