Fix flaky ITBasicAuthConfigurationTest (#9072)

This test was failing to authenticate using the admin credentials. These
should be available by default in the metadata store. This indicates that
the credentials are not successfully being syncd before the test is run.

This change increases the number of retries to 20 so that the services
are syncd before the test runs
This commit is contained in:
Suneet Saldanha 2019-12-19 17:38:55 -08:00 committed by Jonathan Wei
parent 176bc8fd97
commit 3c13444167
8 changed files with 10 additions and 2 deletions

View File

@ -26,6 +26,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/broker
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock

View File

@ -24,6 +24,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/historical
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock

View File

@ -28,6 +28,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/middleManager
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock

View File

@ -23,6 +23,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/overlord
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock
@ -56,4 +57,4 @@ redirect_stderr=true
priority=100
autorestart=false
stdout_logfile=/shared/logs/overlord.log
environment=AWS_REGION=us-east-1
environment=AWS_REGION=us-east-1

View File

@ -20,6 +20,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/router-custom-check-tls
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock
@ -54,4 +55,4 @@ command=java
redirect_stderr=true
priority=100
autorestart=false
stdout_logfile=/shared/logs/router-custom-check-tls.log
stdout_logfile=/shared/logs/router-custom-check-tls.log

View File

@ -19,6 +19,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/router-no-client-auth-tls
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock

View File

@ -19,6 +19,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/router-permissive-tls
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock

View File

@ -15,6 +15,7 @@ command=java
-Ddruid.auth.authenticator.basic.initialInternalClientPassword=warlock
-Ddruid.auth.authenticator.basic.authorizerName=basic
-Ddruid.auth.basic.common.cacheDirectory=/tmp/authCache/router
-Ddruid.auth.basic.common.maxSyncRetries=20
-Ddruid.escalator.type=basic
-Ddruid.escalator.internalClientUsername=druid_system
-Ddruid.escalator.internalClientPassword=warlock