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:
Abhishek Radhakrishnan 2024-01-26 08:52:27 -08:00 committed by GitHub
parent 00cb0a2900
commit a7918be268
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -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
}
}