Fix 9 pre-existing jersey/checkout test failures blocking CI deploy #272
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Standalone — discovered during contract reminder deploy (pipeline #274). Regression from
forgejo_admin/basketball-api #265(remove opt-out from jersey ordering).Repo
forgejo_admin/basketball-apiWhat Broke
9 jersey/checkout tests fail with 422 (Unprocessable Entity) because test fixtures still send
"option": "opt_out"which was removed as a valid jersey option in #265. This blocksupdate-kustomize-tagin CI, preventing auto-deploy.Failing tests:
tests/test_jersey.py::TestPlayerIdJerseyCheckout— 3 failurestests/test_checkout.py::TestPlayerIdCheckoutCreateSession— 3 failurestests/test_dual_auth.py::TestJerseyCheckoutDualAuth+TestCheckoutCreateSessionDualAuth— 3 failuresRepro Steps
pytest tests/test_jersey.py tests/test_checkout.py tests/test_dual_auth.py -vassert 422 == 200orassert 422 == 403Expected Behavior
All 745 tests pass. CI pipeline completes and triggers kustomize tag update for ArgoCD deploy.
Environment
5ed3220introduced the regression,23902feis current mainAcceptance Criteria
Related
westside-basketball— project this affectsforgejo_admin/basketball-api #265— PR that removed opt-out, causing the test regression