fix(helm): Update test during pending install

Signed-off-by: Cristian Klein <cristian.klein@elastisys.com>
pull/7322/head
Cristian Klein 4 years ago
parent 20fb7bac4e
commit 0d70c63396

@ -0,0 +1 @@
Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

@ -158,7 +158,7 @@ func TestUpgradeCmd(t *testing.T) {
{
name: "upgrade a pending install release",
cmd: fmt.Sprintf("upgrade funny-bunny '%s'", chartPath),
golden: "output/upgrade-with-bad-or-missing-existing-release.txt",
golden: "output/upgrade-with-pending-install.txt",
wantError: true,
rels: []*release.Release{relWithStatusMock("funny-bunny", 2, ch, release.StatusPendingInstall)},
},

Loading…
Cancel
Save