Skip to content

Commit bb4951c

Browse files
Rohit Patilropatil010
andcommitted
Remove unused OIDC test suite and time import
The oidc/serial-disruptive suite was defined but never used by any Prow job. Analysis showed: - No Prow job in openshift/release sets TEST_SUITE to this suite - OIDC tests run via two paths: 1. operator/serial suite (via e2e-aws-operator-serial-ote) 2. Direct go test (via e2e-oidc job using make test-e2e-oidc) - The suite definition was dead code Also removed the now-unused time package import. Co-Authored-By: Rohit Patil <ropatil@redhat.com>
1 parent c11012c commit bb4951c

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

  • cmd/cluster-authentication-operator-tests-ext

cmd/cluster-authentication-operator-tests-ext/main.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package main
33
import (
44
"fmt"
55
"os"
6-
"time"
76

87
"github.com/spf13/cobra"
98
"k8s.io/component-base/cli"
@@ -127,20 +126,6 @@ func prepareOperatorTestsRegistry() (*oteextension.Registry, error) {
127126
},
128127
})
129128

130-
// The following suite runs OIDC-specific disruptive tests.
131-
// These tests must run serially as they modify cluster authentication configuration
132-
// and may disrupt cluster operations.
133-
defaultTimeout := 120 * time.Minute
134-
extension.AddSuite(oteextension.Suite{
135-
Name: "openshift/cluster-authentication-operator/oidc/serial-disruptive",
136-
Parallelism: 1,
137-
ClusterStability: oteextension.ClusterStabilityDisruptive,
138-
TestTimeout: &defaultTimeout,
139-
Qualifiers: []string{
140-
`name.contains("[OIDC]") && name.contains("[Serial]") && name.contains("[Disruptive]")`,
141-
},
142-
})
143-
144129
specs, err := oteginkgo.BuildExtensionTestSpecsFromOpenShiftGinkgoSuite()
145130
if err != nil {
146131
return nil, fmt.Errorf("couldn't build extension test specs from ginkgo: %w", err)

0 commit comments

Comments
 (0)