apache /
knox /
0e04e5c005e9cc7d3f0f811633477a5067deb0aa KNOX-2340 - Fix DefaultTokenStateServiceTest timeouts (#312)
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.
Signed-off-by: Kevin Risden <krisden@apache.org>
2 files changed