Skip to content

Commit a3b9b98

Browse files
authored
Fix some yamlRestTestV7CompatTest tests (elastic#125682)
The V7 REST compat tests shouldn't run with queryable built-in roles enabled. Relates elastic#120323 Fixes elastic#121501 Fixes elastic#122226 Fixes elastic#122687 Fixes elastic#123081 Fixes elastic#123147
1 parent b6a16d6 commit a3b9b98

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

muted-tests.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -426,29 +426,17 @@ tests:
426426
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
427427
method: test {p0=snapshot/10_basic/Create a source only snapshot and then restore it}
428428
issue: https://github.com/elastic/elasticsearch/issues/122755
429-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
430-
method: test {p0=data_stream/80_resolve_index_data_streams/Resolve index with hidden and closed indices}
431-
issue: https://github.com/elastic/elasticsearch/issues/123081
432429
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
433430
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
434431
issue: https://github.com/elastic/elasticsearch/issues/121625
435-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
436-
method: test {p0=data_stream/140_data_stream_aliases/Create data stream alias}
437-
issue: https://github.com/elastic/elasticsearch/issues/122226
438432
- class: org.elasticsearch.oldrepos.OldRepositoryAccessIT
439433
method: testOldRepoAccess
440434
issue: https://github.com/elastic/elasticsearch/issues/120148
441435
- class: org.elasticsearch.xpack.sql.expression.function.scalar.datetime.DateTimeToCharProcessorTests
442436
issue: https://github.com/elastic/elasticsearch/issues/120575
443-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
444-
method: test {p0=deprecation/10_basic/Test Deprecations}
445-
issue: https://github.com/elastic/elasticsearch/issues/123147
446437
- class: org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT
447438
method: testChildrenTasksCancelledOnTimeout
448439
issue: https://github.com/elastic/elasticsearch/issues/123568
449-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
450-
method: test {p0=data_stream/140_data_stream_aliases/Fix IndexNotFoundException error when handling remove alias action}
451-
issue: https://github.com/elastic/elasticsearch/issues/121501
452440
- class: org.elasticsearch.xpack.inference.mapper.SemanticInferenceMetadataFieldsRecoveryTests
453441
method: testSnapshotRecovery {p0=false p1=false}
454442
issue: https://github.com/elastic/elasticsearch/issues/124385

x-pack/plugin/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,7 @@ tasks.named("yamlRestTestV7CompatTransform").configure({ task ->
224224
task.skipTest("esql/40_unsupported_types/unsupported", "TODO: support for subset of metric fields")
225225
task.skipTest("esql/40_unsupported_types/unsupported with sort", "TODO: support for subset of metric fields")
226226
})
227+
228+
tasks.named('yamlRestTestV7CompatTest').configure {
229+
systemProperty 'es.queryable_built_in_roles_enabled', 'false'
230+
}

0 commit comments

Comments
 (0)