Skip to content

Commit

Permalink
mute failing filerealm hash caching tests (elastic#42304)
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 authored and Gurkan Kaymak committed May 27, 2019
1 parent eebd02e commit e59d8e2
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 e59d8e2

Please sign in to comment.