Skip to content

Commit

Permalink
tests: increase token expiration time tolerance
Browse files Browse the repository at this point in the history
Fixes: #3804
  • Loading branch information
Saviq authored Mar 7, 2025
1 parent d4c37a5 commit 2769a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/shell/test_token_authority.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ TEST_F(TestTokenAuthority, tokens_are_revoked_in_time)
using namespace std::chrono;

auto constexpr revocation_time = milliseconds(3000);
auto constexpr epsilon = milliseconds(10);
auto constexpr epsilon = milliseconds(50);

bool revoked = false;
auto const issuance_time = clock->now();
Expand Down

0 comments on commit 2769a7d

Please sign in to comment.