Skip to content

Commit

Permalink
fix: failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jahzielv committed Jan 23, 2025
1 parent c84177b commit 4def4dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbit/pkg/installer/installer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,7 @@ func TestInstallerRun(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.desc, func(t *testing.T) {
resetAll()
t.Cleanup(func() { retries = 0 })
oc.saveInstallerResult = tc.saveInstallerResultFunc
err := r.run(context.Background(), &config)
if tc.expectedErr != "" {
Expand All @@ -488,7 +489,6 @@ func TestInstallerRun(t *testing.T) {
require.NoError(t, err)
}
require.Equal(t, tc.expectedRetries, retries)
retries = 0
})
}
})
Expand Down

0 comments on commit 4def4dd

Please sign in to comment.