Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1160 from adrianludwin/fix-demo
Browse files Browse the repository at this point in the history
Unbreak demo e2e test
  • Loading branch information
k8s-ci-robot authored Sep 29, 2020
2 parents 6b1b86b + f65b0db commit ce125d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions incubator/hnc/test/e2e/demo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ spec:
// This should not run because service-1 contains its own subnamespace that would be deleted with it,
MustNotRun("kubectl delete subns", nsService1, "-n", nsTeamA)

MustRun("kubectl hns set", nsService1, "--allowCascadingDelete")
MustRun("kubectl hns set", nsService1, "--allowCascadingDeletion")
MustRun("kubectl delete subns", nsService1, "-n", nsTeamA)
expected = "" +
nsTeamA + "\n" +
Expand All @@ -228,7 +228,7 @@ spec:
RunShouldContain(expected, defTimeout, "kubectl hns tree", nsService4)

// delete subnamespace nsService4, namespace nsStaging won’t be deleted but it will have CritParentMissing condition
MustRun("kubectl hns set", nsService4, "--allowCascadingDelete")
MustRun("kubectl hns set", nsService4, "--allowCascadingDeletion")
MustRun("kubectl delete subns", nsService4, "-n", nsTeamA)
expected = "" +
nsTeamA + "\n" +
Expand Down

0 comments on commit ce125d5

Please sign in to comment.