You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "big-r81 (via GitHub)" <gi...@apache.org> on 2025/12/14 13:45:05 UTC

[PR] fix(tests): Fix and enable JWTRolesClaimTest [couchdb]

big-r81 opened a new pull request, #5823:
URL: https://github.com/apache/couchdb/pull/5823

   Jessica discovered [1] that the “JWTRolesClaimTest” test suite was not activated during testing and was therefore not called. In addition, the tests failed because the used JWT test tokens had an expiration date (Sat Aug 16 2025 01:10:10 GMT+0200).
   
   1. For all used JWT test tokens, the expiration date was increased to Thu Dec 31 2099 22:59:59 GMT+0000.
   2. The JWT token signatures were adjusted.
   3. Tests were activated in the Elixir suite.
   
   [1] https://github.com/apache/couchdb/pull/5822#discussion_r2615970826
   
   ```elixir
   JwtRolesClaimTest [test/elixir/test/jwt_roles_claim_test.exs]
     * test case: roles_claim_name (undefined) / roles_claim_path (defined) (118.3ms) [L#57]
     * test case: roles_claim_name (defined) / roles_claim_path (defined) (71.7ms) [L#73]
     * test case: roles_claim_name (undefined) / roles_claim_path (undefined) (42.6ms) [L#32]
     * test case: roles_claim_name (defined) / roles_claim_path (undefined) (61.8ms) [L#41]
     * test case: roles_claim_path with bad input (159.0ms) [L#94]
   
   Finished in 0.5 seconds (0.00s async, 0.5s sync)
   5 tests, 0 failures
   ```


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(tests): Fix and enable JWTRolesClaimTest [couchdb]

Posted by "big-r81 (via GitHub)" <gi...@apache.org>.
big-r81 merged PR #5823:
URL: https://github.com/apache/couchdb/pull/5823


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org