Skip to content

Commit 39fbed1

Browse files
committed
mute failing filerealm hash caching tests (#42304)
some tests are failing after the introduction of #41792. relates #42267 and #42289.
1 parent ecd033b commit 39fbed1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/file/FileRealmTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ private RealmConfig getRealmConfig(Settings settings) {
9090
return new RealmConfig(REALM_IDENTIFIER, settings, TestEnvironment.newEnvironment(settings), threadContext);
9191
}
9292

93+
@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/42267")
9394
public void testAuthenticateCaching() throws Exception {
9495
Settings settings = Settings.builder()
9596
.put(RealmSettings.realmSettingPrefix(REALM_IDENTIFIER) + "cache.hash_algo",

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/support/CachingUsernamePasswordRealmTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public void stop() {
6464
}
6565
}
6666

67+
@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/42267")
6768
public void testCacheSettings() {
6869
String cachingHashAlgo = Hasher.values()[randomIntBetween(0, Hasher.values().length - 1)].name().toLowerCase(Locale.ROOT);
6970
int maxUsers = randomIntBetween(10, 100);

0 commit comments

Comments
 (0)