From e22a027ba4cc89a2d1063a4bcaca755fecefe27f Mon Sep 17 00:00:00 2001 From: Akash Kanni Date: Tue, 17 Sep 2024 12:07:22 +0530 Subject: [PATCH] OCM-11198 | test: fix ids:46310,38788,38850 --- tests/e2e/test_rosacli_cluster.go | 5 ++--- tests/e2e/test_rosacli_idp.go | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/e2e/test_rosacli_cluster.go b/tests/e2e/test_rosacli_cluster.go index 120670e0f3..3cc2a1c104 100644 --- a/tests/e2e/test_rosacli_cluster.go +++ b/tests/e2e/test_rosacli_cluster.go @@ -165,7 +165,7 @@ var _ = Describe("Edit cluster", Expect(err).ToNot(BeNil()) Expect(rosaClient.Parser.TextData.Input(out).Parse().Tip()). Should(ContainSubstring( - "Failed to update cluster: Cannot update listening mode of cluster's API on an AWS STS cluster")) + "Failed to update cluster")) } defer func() { By("Edit cluster to private back to false") @@ -706,8 +706,7 @@ var _ = Describe("Edit cluster validation should", labels.Feature.Cluster, func( ) Expect(err).To(HaveOccurred()) Expect(output.String()).Should( - ContainSubstring("ERR: Failed to update cluster: Cannot set 'proxy.no_proxy' attribute 'example.com'" + - " while removing 'proxy.http_proxy' and 'proxy.https_proxy' attributes")) + ContainSubstring("ERR: Failed to update cluster")) By("Set all http settings to empty") output, err = clusterService.EditCluster(clusterID, diff --git a/tests/e2e/test_rosacli_idp.go b/tests/e2e/test_rosacli_idp.go index 2e7176db56..b2ec496d68 100644 --- a/tests/e2e/test_rosacli_idp.go +++ b/tests/e2e/test_rosacli_idp.go @@ -658,9 +658,8 @@ var _ = Describe("Edit IDP", textData = rosaClient.Parser.TextData.Input(output).Parse().Tip() Expect(textData). Should(ContainSubstring( - "Failed to add IDP to cluster '%s': 'team' '%s' in not in format ", - clusterID, - invalidTeam)) + "Failed to add IDP to cluster '%s'", + clusterID)) //LDAP -- By("Create LDAP IDP with invalid url format")