test: e2e integration tests for ExternalProvider/ExternalModel CRDs#237
test: e2e integration tests for ExternalProvider/ExternalModel CRDs#237yossiovadia wants to merge 1 commit into
Conversation
…el CRDs Adds a pytest-based integration test suite that validates the full inference gateway stack end-to-end: reconciler resource creation, Kuadrant auth enforcement, provider lifecycle, and error handling. All tests send real HTTP traffic through the gateway — no mocks. Standalone helpers (no MaaS repo imports) make the suite portable to any cluster with the required infrastructure. 32 passing tests, 7 xfail (multi-provider weights PR opendatahub-io#213, migration controller not implemented). See test/e2e-integration/README.md for prerequisites, env vars, and instructions for both Kind and OpenShift.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yossiovadia The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@yossiovadia: The following test has Succeeded: OCI Artifact Browser URLInspecting Test Artifacts ManuallyTo inspect your test artifacts manually, follow these steps:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/opendatahub/odh-ci-artifacts:ai-gateway-group-test-s4rdf |
Summary
test/e2e-integration/pytest suite — 32 passing, 7 xfail testsWhat's covered
xfail tests
Tests for unimplemented features are marked
pytest.mark.xfail(reason="...")with the blocking PR/issue. They run but don't fail the suite. When a feature lands and a test starts passing, pytest reportsXPASS— a signal to remove the marker.Prerequisites
gateway-default-authAuthPolicy for negative auth teststest/e2e-integration/README.mdfor complete setup guideHow to run
Test plan
test/e2e/)