Mute failing SamlAuthenticationIT tests (#46369)

see #44410
This commit is contained in:
Ioannis Kakavas 2019-09-05 12:24:19 +03:00
parent 28974b5723
commit 999658826f
1 changed files with 3 additions and 0 deletions

View File

@ -240,6 +240,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
* <li>Uses that token to verify the user details</li>
* </ol>
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
public void testLoginUserWithSamlRoleMapping() throws Exception {
// this ACS comes from the config in build.gradle
final Tuple<String, String> authTokens = loginViaSaml("http://localhost:54321" + SP_ACS_PATH_1);
@ -248,6 +249,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
verifyElasticsearchAccessTokenForRoleMapping(accessToken);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
public void testLoginUserWithAuthorizingRealm() throws Exception {
// this ACS comes from the config in build.gradle
final Tuple<String, String> authTokens = loginViaSaml("http://localhost:54321" + SP_ACS_PATH_2);
@ -256,6 +258,7 @@ public class SamlAuthenticationIT extends ESRestTestCase {
verifyElasticsearchAccessTokenForAuthorizingRealms(accessToken);
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/44410")
public void testLoginWithWrongRealmFails() throws Exception {
this.acs = new URI("http://localhost:54321" + SP_ACS_PATH_WRONG_REALM);
final BasicHttpContext context = new BasicHttpContext();