mirror of https://github.com/apache/druid.git
Temporarily bump up the delay in auth IT from 5s to 10s. (#15765)
A more ideal/permanent fix would be to have status checks exposed by the services, but that'll require more code changes. So temporarily bump it to unblock CI now.
This commit is contained in:
parent
00cb0a2900
commit
a7918be268
|
@ -82,11 +82,12 @@ public class ITBasicAuthConfigurationTest extends AbstractAuthConfigurationTest
|
|||
{
|
||||
super.setupHttpClientsAndUsers();
|
||||
|
||||
// Add a delay to allow propagation of credentials to all services
|
||||
// Add a large enough delay to allow propagation of credentials to all services. It'd be ideal
|
||||
// to have a "readiness" endpoint exposed by different services that'd return the version of auth creds cached.
|
||||
try {
|
||||
Thread.sleep(5000);
|
||||
Thread.sleep(10000);
|
||||
}
|
||||
catch (Throwable t) {
|
||||
catch (InterruptedException e) {
|
||||
// Ignore exception
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue