Change value of METADATA_REFRESH for the tests (elastic/x-pack-elasticsearch#3879)

Ensure that the next triggered metadata refresh is always in the
future. relates elastic/x-pack-elasticsearch#3815

Original commit: elastic/x-pack-elasticsearch@edd9ba911d
This commit is contained in:
Ioannis Kakavas 2018-02-09 18:22:26 +01:00 committed by GitHub
parent 4e0c1d1b60
commit 7504e33da7
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ import static org.mockito.Mockito.mock;
public class SamlRealmTests extends SamlTestCase { public class SamlRealmTests extends SamlTestCase {
public static final String TEST_IDP_ENTITY_ID = "http://demo_josso_1.josso.dev.docker:8081/IDBUS/JOSSO-TUTORIAL/IDP1/SAML2/MD"; public static final String TEST_IDP_ENTITY_ID = "http://demo_josso_1.josso.dev.docker:8081/IDBUS/JOSSO-TUTORIAL/IDP1/SAML2/MD";
private static final int METADATA_REFRESH = 50; private static final int METADATA_REFRESH = 3000;
private static final String REALM_NAME = "my-saml"; private static final String REALM_NAME = "my-saml";
private static final String REALM_SETTINGS_PREFIX = "xpack.security.authc.realms." + REALM_NAME; private static final String REALM_SETTINGS_PREFIX = "xpack.security.authc.realms." + REALM_NAME;