Skip to content

Commit c8d5a50

Browse files
Unmute closed/fixed security test failures on 8.19 branch (#131188)
Unmutes already closed/fixed test failures: - #110232 - #110789 - #111191 - #111396 - Closes #116537 - Closes #119882 - #119911 - Closes #121291 - #127782
1 parent 2864ea1 commit c8d5a50

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

muted-tests.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,12 @@ tests:
1111
- class: org.elasticsearch.index.store.FsDirectoryFactoryTests
1212
method: testPreload
1313
issue: https://github.com/elastic/elasticsearch/issues/110211
14-
- class: org.elasticsearch.upgrades.SecurityIndexRolesMetadataMigrationIT
15-
method: testMetadataMigratedAfterUpgrade
16-
issue: https://github.com/elastic/elasticsearch/issues/110232
17-
- class: org.elasticsearch.xpack.security.authz.store.NativePrivilegeStoreCacheTests
18-
method: testPopulationOfCacheWhenLoadingPrivilegesForAllApplications
19-
issue: https://github.com/elastic/elasticsearch/issues/110789
2014
- class: org.elasticsearch.xpack.searchablesnapshots.cache.common.CacheFileTests
2115
method: testCacheFileCreatedAsSparseFile
2216
issue: https://github.com/elastic/elasticsearch/issues/110801
2317
- class: org.elasticsearch.nativeaccess.VectorSystemPropertyTests
2418
method: testSystemPropertyDisabled
2519
issue: https://github.com/elastic/elasticsearch/issues/110949
26-
- class: org.elasticsearch.xpack.security.authc.oidc.OpenIdConnectAuthIT
27-
method: testAuthenticateWithImplicitFlow
28-
issue: https://github.com/elastic/elasticsearch/issues/111191
29-
- class: org.elasticsearch.xpack.security.authc.oidc.OpenIdConnectAuthIT
30-
method: testAuthenticateWithCodeFlowAndClientPost
31-
issue: https://github.com/elastic/elasticsearch/issues/111396
3220
- class: org.elasticsearch.search.SearchServiceTests
3321
issue: https://github.com/elastic/elasticsearch/issues/111529
3422
- class: org.elasticsearch.upgrades.FullClusterRestartIT
@@ -271,8 +259,6 @@ tests:
271259
- class: org.elasticsearch.xpack.ml.integration.RegressionIT
272260
method: testTwoJobsWithSameRandomizeSeedUseSameTrainingSet
273261
issue: https://github.com/elastic/elasticsearch/issues/117805
274-
- class: org.elasticsearch.xpack.security.authc.ldap.UserAttributeGroupsResolverTests
275-
issue: https://github.com/elastic/elasticsearch/issues/116537
276262
- class: org.elasticsearch.repositories.s3.RepositoryS3EcsCredentialsRestIT
277263
method: testNonexistentBucketReadonlyFalse
278264
issue: https://github.com/elastic/elasticsearch/issues/118225
@@ -294,11 +280,6 @@ tests:
294280
- class: org.elasticsearch.xpack.restart.FullClusterRestartIT
295281
method: testWatcherWithApiKey {cluster=UPGRADED}
296282
issue: https://github.com/elastic/elasticsearch/issues/119396
297-
- class: org.elasticsearch.xpack.security.authc.ldap.ADLdapUserSearchSessionFactoryTests
298-
issue: https://github.com/elastic/elasticsearch/issues/119882
299-
- class: org.elasticsearch.xpack.security.operator.OperatorPrivilegesIT
300-
method: testEveryActionIsEitherOperatorOnlyOrNonOperator
301-
issue: https://github.com/elastic/elasticsearch/issues/119911
302283
- class: org.elasticsearch.oldrepos.OldRepositoryAccessIT
303284
method: testOldSourceOnlyRepoAccess
304285
issue: https://github.com/elastic/elasticsearch/issues/120080
@@ -359,8 +340,6 @@ tests:
359340
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
360341
method: test {p0=ml/*}
361342
issue: https://github.com/elastic/elasticsearch/issues/120816
362-
- class: org.elasticsearch.xpack.security.authc.ldap.GroupMappingIT
363-
issue: https://github.com/elastic/elasticsearch/issues/121291
364343
- class: org.elasticsearch.xpack.application.FullClusterRestartIT
365344
issue: https://github.com/elastic/elasticsearch/issues/121935
366345
- class: org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
@@ -435,9 +414,6 @@ tests:
435414
- class: org.elasticsearch.test.index.IndexVersionUtilsTests
436415
method: testIndexCompatibleVersionMatches
437416
issue: https://github.com/elastic/elasticsearch/issues/120760
438-
- class: org.elasticsearch.xpack.remotecluster.RemoteClusterSecurityFcActionAuthorizationIT
439-
method: testIndicesPrivilegesAreEnforcedForCcrRestoreSessionActions
440-
issue: https://github.com/elastic/elasticsearch/issues/127782
441417
- class: org.elasticsearch.search.CCSDuelIT
442418
method: testTerminateAfter
443419
issue: https://github.com/elastic/elasticsearch/issues/126085

x-pack/plugin/security/qa/multi-cluster/src/javaRestTest/java/org/elasticsearch/xpack/remotecluster/RemoteClusterSecurityFcActionAuthorizationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public void testIndicesPrivilegesAreEnforcedForCcrRestoreSessionActions() throws
282282
GetCcrRestoreFileChunkAction.REMOTE_TYPE,
283283
new GetCcrRestoreFileChunkRequest(response2.getNode(), sessionUUID2, leaderIndex2FileName, 1, shardId2)
284284
);
285-
assertFalse(getChunkResponse.getChunk().hasReferences());
285+
assertBusy(() -> assertFalse(getChunkResponse.getChunk().hasReferences()));
286286

287287
// Clear restore session fails if index is unauthorized
288288
final var e4 = expectThrows(

0 commit comments

Comments
 (0)