risdenk opened a new pull request #312: KNOX-2340 - Fix DefaultTokenStateServiceTest timeouts URL: https://github.com/apache/knox/pull/312 ## What changes were proposed in this pull request? Fix DefaultTokenStateServiceTest timeouts to be more reasonable. I used TimeUnit every where to ensure we are doing things with the correct unit of time. Previously there were issues where milliseconds and seconds were being mixed. This caused race conditions in AliasBasedTokenStateServiceTest which extends DefaultTokenStateServiceTest. ## How was this patch tested? * Ran `AliasBasedTokenStateServiceTest` and `DefaultTokenStateServiceTest` repeatedly in IDE * `mvn -T.5C package -DskipTests -Ppackage,release -Dshellcheck`
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
