Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

[1.2] e2e: Skip Kommander cleanup at the end #223

Merged
merged 1 commit into from
Nov 12, 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
11 changes: 10 additions & 1 deletion test/kommander_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,16 @@ kubeaddonsRepository:
t.Fatal(err)
}

addonCleanup, err := addontesters.CleanupAddons(t, cluster, addons...)
// there is well known bug of kommander not being able to be uninstalled
// https://jira.d2iq.com/browse/D2IQ-63395
// remove it from the addon cleanup list
addonsToCleanup := make([]v1beta2.AddonInterface, 0)
for _, addon := range addons {
if addon.GetName() != "kommander" {
addonsToCleanup = append(addonsToCleanup, addon)
}
}
addonCleanup, err := addontesters.CleanupAddons(t, cluster, addonsToCleanup...)
if err != nil {
t.Fatal(err)
}
Expand Down