nscendoni commented on code in PR #40:
URL:
https://github.com/apache/sling-org-apache-sling-auth-oauth-client/pull/40#discussion_r2665006892
##########
src/test/java/org/apache/sling/auth/oauth_client/AuthorizationCodeFlowIT.java:
##########
@@ -232,7 +233,7 @@ void accessTokenIsPresentOnSuccessfulLogin() throws
Exception {
break;
}
// Otherwise, we wait for a while and retry
- Thread.sleep(100);
+ Thread.sleep(RETRY_MILLIS);
Review Comment:
I can sporadically reproduce the issue in Jenkins. I guess this is because
sometime we request the protected resource before the services are actually
started in sling. Do you have any other idea?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]