Skip to content

Commit 75713b0

Browse files
Merge pull request #6979 from openshift/revert-6684-workaround-external-oidc-tests
OCPBUGS-60457: test(e2e): Revert "Workaround for external oidc tests to bypass the teardown"
2 parents fd07723 + 80de5dc commit 75713b0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/e2e/util/dump/dump.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"fmt"
77
"os"
88
"path/filepath"
9-
"strings"
109
"testing"
1110

1211
hyperv1 "github.com/openshift/hypershift/api/hypershift/v1beta1"
@@ -40,10 +39,7 @@ func DumpHostedCluster(ctx context.Context, t *testing.T, hc *hyperv1.HostedClus
4039

4140
var allErrors []error
4241
findKubeObjectUpdateLoops := func(filename string, content []byte) {
43-
// TODO: currently we need the "strings.Contains" workaround to let the ExternalOIDCWithUIDAndExtraClaimMappings jobs not fail,
44-
// to promote the 4.20 featuregate ExternalOIDCWithUIDAndExtraClaimMappings to GA.
45-
// Once https://issues.redhat.com/browse/OCPBUGS-60457 is fixed, remove the "strings.Contains" condition
46-
if bytes.Contains(content, []byte(upsert.LoopDetectorWarningMessage)) && !strings.Contains(t.Name(), "TestExternalOIDC") {
42+
if bytes.Contains(content, []byte(upsert.LoopDetectorWarningMessage)) {
4743
allErrors = append(allErrors, fmt.Errorf("found %s messages in file %s", upsert.LoopDetectorWarningMessage, filename))
4844
}
4945
}

0 commit comments

Comments
 (0)