[
https://issues.apache.org/jira/browse/KNOX-3293?focusedWorklogId=1013909&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1013909
]
ASF GitHub Bot logged work on KNOX-3293:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Apr/26 06:16
Start Date: 08/Apr/26 06:16
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on PR #1194:
URL: https://github.com/apache/knox/pull/1194#issuecomment-4204219919
## Test Results
16 tests 16 ✅ 1s ⏱️
1 suites 0 💤
1 files 0 ❌
Results for commit ddb05744.
[test-results]:data:application/gzip;base64,H4sIAL/y1WkC/12MSQ7CMBAEvxL5zMEDXgSfQV6lEUmMvJwQf8c4iUm4dVVL9SIeR5fIbYDTQFLB3MGWqDKGecV65HaJDe6pGPNnHvishnbhFY4H4WIMcTWxzL343YfgIn69xrtc433NhGnCXIFYqymXjKmLdMAp9cx4zq4AWgt59s5RIzRwIO8POlNITv8AAAA=
Issue Time Tracking
-------------------
Worklog Id: (was: 1013909)
Remaining Estimate: 23.5h (was: 23h 40m)
Time Spent: 0.5h (was: 20m)
> Add integration tests: health metrics JSON, KnoxLDAP preauth/extauthz paths,
> RemoteAuth extauthz
> ------------------------------------------------------------------------------------------------
>
> Key: KNOX-3293
> URL: https://issues.apache.org/jira/browse/KNOX-3293
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxShell
> Reporter: Raghav Maheshwari
> Priority: Major
> Original Estimate: 24h
> Time Spent: 0.5h
> Remaining Estimate: 23.5h
>
> New/extended pytest coverage under {{.github/workflows/tests/}} for the
> Docker Compose–driven Knox stack (health, {{{}knoxldap{}}}, {{remoteauth}}
> topologies).
> {{test_health.py}}
> * {{test_health_metrics_returns_json}} — {{GET
> /gateway/health/v1/metrics?pretty=true}} returns 200, response is JSON
> ({{{}Content-Type{}}} and parseable body as an object).
> {{test_knoxauth_preauth_and_paths.py}} (KnoxLDAP)
> * {{test_preauth_requires_auth}} — preauth without credentials → 401.
> * {{test_preauth_bad_credentials_unauthorized}} — invalid Basic auth → 401.
> * {{test_preauth_post_supported}} — POST to preauth with valid credentials
> works.
> * {{test_extauthz_additional_path_not_ignored_in_knoxldap}} — extra path
> under extauthz is not treated as the base resource (404 vs success).
> {{test_remoteauth_extauthz_additional_path.py}} (RemoteAuth)
> * {{test_extauthz_success}} — valid Basic auth → 200 and expected
> {{{}X-Knox-Actor-ID{}}}.
> * {{test_extauthz_additional_path_is_ignored}} — with
> ignore-additional-path, extra segments still succeed.
> * {{test_extauthz_bad_credentials_unauthorized}} — bad credentials → 401.
> * {{test_extauthz_missing_credentials_server_error}} — no {{Authorization}}
> header → 500 (current behavior).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)