Skip to content

Commit

Permalink
mute failing filerealm hash caching tests
Browse files Browse the repository at this point in the history
some tests are failing after the introduction of elastic#41792.

relates elastic#42267 and elastic#42289.
  • Loading branch information
talevy committed May 21, 2019
1 parent a2c35a7 commit 2c7a045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private RealmConfig getRealmConfig(Settings settings) {
return new RealmConfig(REALM_IDENTIFIER, settings, TestEnvironment.newEnvironment(settings), threadContext);
}

@AwaitsFix(bugUrl="https://github.com/elastic/elasticsearch/issues/42267")
public void testAuthenticateCaching() throws Exception {
Settings settings = Settings.builder()
.put(RealmSettings.realmSettingPrefix(REALM_IDENTIFIER) + "cache.hash_algo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void stop() {
}
}

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

0 comments on commit 2c7a045

Please sign in to comment.