Skip to content

Commit 2ead7eb

Browse files
committed
OCM-14441 | test: fix ids: 75256,72195
1 parent 5354111 commit 2ead7eb

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

tests/ci/data/profiles/rosa-hcp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ profiles:
176176
autoscale: true
177177
kms_key: true
178178
networking: true
179-
proxy_enabled: true
179+
proxy_enabled: false
180180
label_enabled: false
181181
zones: ""
182182
tag_enabled: true

tests/e2e/hcp_machine_pool_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@ var _ = Describe("HCP Machine Pool", labels.Feature.Machinepool, func() {
7777
sgPrefix := helper.GenerateRandomName("72195", 2)
7878
sgIDs, err := vpcClient.CreateAdditionalSecurityGroups(3, sgPrefix, "testing for case 72195")
7979
Expect(err).ToNot(HaveOccurred())
80+
defer func(sgs []string) {
81+
for _, sg := range sgs {
82+
vpcClient.AWSClient.DeleteSecurityGroup(sg)
83+
}
84+
}(sgIDs)
8085

8186
By("Create machinepool with security groups set")
8287
mpName := "mp-72195"

tests/e2e/test_rosacli_cluster_post.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,7 @@ var _ = Describe("Post-Check testing for cluster deletion",
751751
func() {
752752
clusterID = config.GetClusterID()
753753
By("Skip if the cluster is non-sts")
754-
isHostedCP, err := clusterService.IsHostedCPCluster(clusterID)
755-
Expect(err).To(BeNil())
756-
IsSTS, err := clusterService.IsSTSCluster(clusterID)
757-
Expect(err).To(BeNil())
758-
if !(isHostedCP || IsSTS) {
754+
if !profile.ClusterConfig.STS {
759755
Skip("Skip this case as it doesn't supports on not-sts clusters")
760756
}
761757
By("Check the operator-roles is deleted")

0 commit comments

Comments
 (0)