[ 
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 
Commit 3442ce1  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.

  was:
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 
> Commit 3442ce1  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)

Reply via email to