mirror of https://github.com/helm/helm.git
Merge pull request #31354 from TerryHowe/fix-flake-upgrade-test
fix: flake upgrade test
This commit is contained in:
commit
acb1b2c651
|
@ -60,9 +60,9 @@ func TestUpgradeRelease_Success(t *testing.T) {
|
||||||
|
|
||||||
ctx, done := context.WithCancel(t.Context())
|
ctx, done := context.WithCancel(t.Context())
|
||||||
res, err := upAction.RunWithContext(ctx, rel.Name, buildChart(), vals)
|
res, err := upAction.RunWithContext(ctx, rel.Name, buildChart(), vals)
|
||||||
done()
|
|
||||||
req.NoError(err)
|
req.NoError(err)
|
||||||
is.Equal(res.Info.Status, release.StatusDeployed)
|
is.Equal(res.Info.Status, release.StatusDeployed)
|
||||||
|
done()
|
||||||
|
|
||||||
// Detecting previous bug where context termination after successful release
|
// Detecting previous bug where context termination after successful release
|
||||||
// caused release to fail.
|
// caused release to fail.
|
||||||
|
|
Loading…
Reference in New Issue