We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cba5465 commit bcd4e79Copy full SHA for bcd4e79
internal/pkg/agent/application/upgrade/upgrade_test.go
@@ -1152,6 +1152,10 @@ func TestManualRollback(t *testing.T) {
1152
err = locker.TryLock()
1153
require.NoError(t, err, "error locking initial watcher AppLocker")
1154
// there's no takeover watcher so no expectation on that or InvokeWatcher
1155
+ t.Cleanup(func() {
1156
+ unlockErr := locker.Unlock()
1157
+ assert.NoError(t, unlockErr, "error unlocking initial watcher AppLocker")
1158
+ })
1159
},
1160
artifactSettings: artifact.DefaultConfig(),
1161
upgradeSettings: configuration.DefaultUpgradeConfig(),
0 commit comments