Skip to content

Commit 1006347

Browse files
Unmute and fix tests
1 parent fc500d1 commit 1006347

File tree

6 files changed

+179
-30
lines changed

6 files changed

+179
-30
lines changed

muted-tests.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ tests:
294294
- class: org.elasticsearch.xpack.security.authc.jwt.JwtRealmSingleNodeTests
295295
method: testActivateProfileForJWT
296296
issue: https://github.com/elastic/elasticsearch/issues/120983
297-
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
298-
method: test {yaml=cluster.health/20_request_timeout/cluster health request timeout waiting for active shards}
299-
issue: https://github.com/elastic/elasticsearch/issues/121130
300297
- class: org.elasticsearch.xpack.security.profile.ProfileIntegTests
301298
method: testProfileIndexAutoCreation
302299
issue: https://github.com/elastic/elasticsearch/issues/120987
@@ -316,21 +313,9 @@ tests:
316313
issue: https://github.com/elastic/elasticsearch/issues/121183
317314
- class: org.elasticsearch.xpack.esql.optimizer.LogicalPlanOptimizerTests
318315
issue: https://github.com/elastic/elasticsearch/issues/121185
319-
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
320-
method: test {yaml=cat.aliases/10_basic/Simple alias}
321-
issue: https://github.com/elastic/elasticsearch/issues/121186
322316
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
323317
method: testWithDatastreams
324318
issue: https://github.com/elastic/elasticsearch/issues/121236
325-
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
326-
method: test {yaml=nodes.stats/11_indices_metrics/Metric - blank for indices mappings}
327-
issue: https://github.com/elastic/elasticsearch/issues/121238
328-
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
329-
method: test {yaml=indices.get_alias/10_basic/Get aliases via /_alias/_all}
330-
issue: https://github.com/elastic/elasticsearch/issues/121242
331-
- class: org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT
332-
method: test {yaml=cluster.stats/10_basic/Sparse vector stats}
333-
issue: https://github.com/elastic/elasticsearch/issues/121246
334319
- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityEsqlIT
335320
method: testCrossClusterAsyncQueryStop
336321
issue: https://github.com/elastic/elasticsearch/issues/121249

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.health/20_request_timeout.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
- is_true: timed_out
1818
- gte: { number_of_nodes: 1 }
1919
- gte: { number_of_data_nodes: 1 }
20-
- match: { active_primary_shards: 0 }
21-
- match: { active_shards: 0 }
20+
- gte: { active_primary_shards: 0 }
21+
- gte: { active_shards: 0 }
2222
- match: { relocating_shards: 0 }
2323
- match: { initializing_shards: 0 }
2424
- match: { unassigned_shards: 0 }
@@ -44,8 +44,8 @@
4444
- is_true: timed_out
4545
- gte: { number_of_nodes: 1 }
4646
- gte: { number_of_data_nodes: 1 }
47-
- match: { active_primary_shards: 0 }
48-
- match: { active_shards: 0 }
47+
- gte: { active_primary_shards: 0 }
48+
- gte: { active_shards: 0 }
4949
- match: { relocating_shards: 0 }
5050
- match: { initializing_shards: 0 }
5151
- match: { unassigned_shards: 0 }

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.stats/10_basic.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
---
2+
setup:
3+
- skip:
4+
features: allowed_warnings
5+
- do:
6+
cluster.health:
7+
wait_for_status: green
8+
- do:
9+
allowed_warnings:
10+
- "this request accesses system indices: [.security-7], but in a future major version, direct access to system indices will be prevented by default"
11+
indices.delete:
12+
index: .security-*
13+
---
214
"cluster stats test":
315
- do:
416
cluster.stats: { }

0 commit comments

Comments
 (0)