Skip to content

Commit b9f0ea7

Browse files
committed
[API] Test Runner: Updates wipe cluster
1 parent facae84 commit b9f0ea7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

api-spec-testing/wipe_cluster.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ module WipeCluster
2424
PRESERVE_ILM_POLICY_IDS = [
2525
'ilm-history-ilm-policy', 'slm-history-ilm-policy',
2626
'watch-history-ilm-policy', 'ml-size-based-ilm-policy', 'logs',
27-
'metrics', '.deprecation-indexing-ilm-policy'
27+
'metrics', '.deprecation-indexing-ilm-policy', '.monitoring-8-ilm-policy',
28+
'behavioral_analytics-events-default_policy'
2829
].freeze
2930

3031
# Wipe Cluster, based on PHP's implementation of ESRestTestCase.java:wipeCluster()
@@ -168,7 +169,8 @@ def clear_templates_xpack(client)
168169
'synthetics', 'synthetics-settings', 'synthetics-mappings',
169170
'.snapshot-blob-cache', '.deprecation-indexing-template',
170171
'.deprecation-indexing-mappings', '.deprecation-indexing-settings',
171-
'security-index-template', 'data-streams-mappings'
172+
'security-index-template', 'data-streams-mappings',
173+
'behavioral_analytics-events-mappings', 'behavioral_analytics-events-settings'
172174
].freeze
173175

174176
def xpack_template?(template)

api-spec-testing/wipe_cluster_8.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ module WipeCluster8
3737
'synthetics', 'synthetics-settings', 'synthetics-mappings',
3838
'.snapshot-blob-cache', '.deprecation-indexing-template',
3939
'.deprecation-indexing-mappings', '.deprecation-indexing-settings',
40-
'security-index-template', 'data-streams-mappings'
40+
'security-index-template', 'data-streams-mappings',
41+
'behavioral_analytics-events-mappings', 'behavioral_analytics-events-settings'
4142
].freeze
4243

4344
# Wipe Cluster, based on PHP's implementation of ESRestTestCase.java:wipeCluster()

0 commit comments

Comments
 (0)