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@20394500e7bdbf568cc26fdc70d6f28079e582f7
@@ -79,7 +79,7 @@ import static org.mockito.Mockito.mock;
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";
- 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_SETTINGS_PREFIX = "xpack.security.authc.realms." + REALM_NAME;
