summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnh Thi Lan Nguyen <lananhnt@outlook.com.vn>2021-12-14 17:18:09 +0700
committermergify-bot <noreply@mergify.com>2021-12-19 11:51:15 +0000
commitd4c1226e7f3d91fc4ba086377945e9cf09086e0e (patch)
tree83c8d366ed7c863d147aa361cf3a6ffdc624bbd2
parent4d36707927e43b6b5e499b658a4dc7a68efd6f80 (diff)
downloadrabbitmq-server-git-mergify/bp/v3.9.x/pr-3887.tar.gz
Increase token expiration timemergify/bp/v3.9.x/pr-3887
(cherry picked from commit 575b6a11880a09fe5de62daff3456374b2d1e5dc)
-rw-r--r--deps/rabbitmq_auth_backend_oauth2/test/rabbit_auth_backend_oauth2_test_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/rabbitmq_auth_backend_oauth2/test/rabbit_auth_backend_oauth2_test_util.erl b/deps/rabbitmq_auth_backend_oauth2/test/rabbit_auth_backend_oauth2_test_util.erl
index e586ffca8c..80b6648352 100644
--- a/deps/rabbitmq_auth_backend_oauth2/test/rabbit_auth_backend_oauth2_test_util.erl
+++ b/deps/rabbitmq_auth_backend_oauth2/test/rabbit_auth_backend_oauth2_test_util.erl
@@ -73,7 +73,7 @@ expired_token_with_scopes(Scopes) ->
token_with_scopes_and_expiration(Scopes, os:system_time(seconds) - 10).
fixture_token_with_scopes(Scopes) ->
- token_with_scopes_and_expiration(Scopes, os:system_time(seconds) + 10).
+ token_with_scopes_and_expiration(Scopes, os:system_time(seconds) + 30).
token_with_scopes_and_expiration(Scopes, Expiration) ->
%% expiration is a timestamp with precision in seconds