You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Bhavesh Amre (Jira)" <ji...@apache.org> on 2026/04/22 11:40:00 UTC

[jira] [Updated] (RANGER-5565) Resolve Unit Test Failures Caused by Commit 3442ce1

     [ https://issues.apache.org/jira/browse/RANGER-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bhavesh Amre updated RANGER-5565:
---------------------------------
    Description: 
Fixed a unit test failure in {{TestRangerKRBAuthenticationFilter}} caused by recent changesĀ  affecting authentication handling.

The test {{testProtectedDoFilter_usesSessionUserNameKeyadminPath}} was failing due to incorrect mocking of request/response behavior. The previous setup relied on request parameters and path info, which no longer aligned with the current authentication flow.

> Resolve Unit Test Failures Caused by Commit 3442ce1
> ---------------------------------------------------
>
>                 Key: RANGER-5565
>                 URL: https://issues.apache.org/jira/browse/RANGER-5565
>             Project: Ranger
>          Issue Type: Test
>          Components: Ranger
>            Reporter: Bhavesh Amre
>            Priority: Major
>
> Fixed a unit test failure in {{TestRangerKRBAuthenticationFilter}} caused by recent changesĀ  affecting authentication handling.
> The test {{testProtectedDoFilter_usesSessionUserNameKeyadminPath}} was failing due to incorrect mocking of request/response behavior. The previous setup relied on request parameters and path info, which no longer aligned with the current authentication flow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)