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

Unbreak demo e2e test #1160

Merged
merged 1 commit into from
Sep 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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