Merge pull request #31354 from TerryHowe/fix-flake-upgrade-test

fix: flake upgrade test
This commit is contained in:
Robert Sirchia 2025-10-07 15:34:50 -04:00 committed by GitHub
commit acb1b2c651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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.