Skip to content

Commit

Permalink
OCM-11198 | test: fix ids:46310,38788,38850
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashKanni committed Sep 17, 2024
1 parent 017dd70 commit e22a027
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/test_rosacli_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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,
Expand Down
5 changes: 2 additions & 3 deletions tests/e2e/test_rosacli_idp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <org/team>",
clusterID,
invalidTeam))
"Failed to add IDP to cluster '%s'",
clusterID))

//LDAP --
By("Create LDAP IDP with invalid url format")
Expand Down

0 comments on commit e22a027

Please sign in to comment.