Skip to content

Commit

Permalink
test only
Browse files Browse the repository at this point in the history
Signed-off-by: yiraeChristineKim <yikim@redhat.com>
  • Loading branch information
yiraeChristineKim committed May 13, 2024
1 parent d24510f commit e020fc7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/e2e/case38_install_operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"open-cluster-management.io/config-policy-controller/test/utils"
)

var _ = Describe("Testing OperatorPolicy", Ordered, Label("hosted-as-well"), func() {
var _ = FDescribe("Testing OperatorPolicy", Ordered, Label("hosted-as-well"), func() {
const (
opPolTestNS = "operator-policy-testns"
parentPolicyYAML = "../resources/case38_operator_install/parent-policy.yaml"
Expand Down Expand Up @@ -401,7 +401,10 @@ var _ = Describe("Testing OperatorPolicy", Ordered, Label("hosted-as-well"), fun
utils.Kubectl(
"delete", "-f", parentPolicyYAML, "-n", testNamespace, "--ignore-not-found", "--cascade=foreground",
)
preFunc()
if IsHosted {
KubectlTarget("delete", "ns", opPolTestNS, "--ignore-not-found")
}
utils.Kubectl("delete", "ns", opPolTestNS, "--ignore-not-found")
})

createObjWithParent(
Expand Down

0 comments on commit e020fc7

Please sign in to comment.