Commit 16070ef
Migrate test/e2e-oidc to OpenShift Tests Extension framework
This commit migrates the OIDC e2e tests from the old test framework to the
OpenShift Tests Extension (OTE) framework, ensuring compliance with cluster
monitoring and image registry policies.
Key changes:
- Migrate test/e2e-oidc tests to OTE framework structure
- Add ImageStream support to satisfy known-image-checker monitoring requirements
- Deploy IDP pods (GitLab, Keycloak) using internal registry images
- Set ClusterStability to Disruptive for serial test suite to handle temporary degraded states
- Remove [Disruptive] tags from individual OIDC tests
- Refactor cleanup logic for proper ImageStream and pod resource management
- Add vendor dependencies for OpenShift image client
Test improvements:
- Tests now comply with OpenShift cluster monitoring policies
- Proper cleanup order prevents resource leakage
- Suite-level stability configuration handles authentication operator degraded states during cleanup
- Fixed namespace lifecycle management
Co-Authored-By: Rohit Patil <ropatil@redhat.com>1 parent e35c554 commit 16070ef
42 files changed
Lines changed: 4926 additions & 1196 deletions
File tree
- cmd/cluster-authentication-operator-tests-ext
- test
- e2e-oidc
- library
- vendor
- github.com/openshift/client-go/image
- applyconfigurations
- image/v1
- internal
- clientset/versioned
- scheme
- typed/image/v1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | | - | |
80 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | | - | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
| |||
0 commit comments