[TESTS] Really fix MultipleAdRealmTests (I think)
Original commit: elastic/x-pack-elasticsearch@dc1eb4eb93
This commit is contained in:
parent
9a800cac60
commit
384486d6dd
|
@ -33,6 +33,7 @@ public class MultipleAdRealmTests extends AbstractAdLdapRealmTestCase {
|
|||
// Pick a secondary realm that has the inverse value for 'loginWithCommonName' compare with the primary realm
|
||||
final List<RealmConfig> configs = Arrays.stream(RealmConfig.values())
|
||||
.filter(config -> config.loginWithCommonName != AbstractAdLdapRealmTestCase.realmConfig.loginWithCommonName)
|
||||
.filter(config -> config.name().startsWith("AD"))
|
||||
.collect(Collectors.toList());
|
||||
secondaryRealmConfig = randomFrom(configs);
|
||||
ESLoggerFactory.getLogger("test")
|
||||
|
|
Loading…
Reference in New Issue