Skip to content

Commit

Permalink
OCM-10477 | test: fix id:75210
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashKanni committed Aug 22, 2024
1 parent 14c6f5b commit e20d368
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/e2e/test_rosacli_cluster_post.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"io"
nets "net/http"
"net/url"
"strings"

"github.com/aws/aws-sdk-go-v2/aws"
Expand Down Expand Up @@ -585,7 +586,10 @@ var _ = Describe("Post-Check testing for cluster deletion",
clusterDetail, err := profilehandler.ParserClusterDetail()
Expect(err).To(BeNil())
oidcEndpointUrlC = clusterDetail.OIDCEndpointURL
oidcEndpointUrlC, err = common.ExtractOIDCProviderFromOidcUrl(oidcEndpointUrlC)
parsedUrl, err := url.Parse(oidcEndpointUrlC)
Expect(err).To(BeNil())
oidcEndpointUrl := parsedUrl.String()
_, err = common.ExtractOIDCProviderFromOidcUrl(oidcEndpointUrl)
Expect(err).To(BeNil())

By("Check the cluster is deleted")
Expand Down

0 comments on commit e20d368

Please sign in to comment.