Skip to content

Commit

Permalink
Update statefulset_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
rurkss committed Aug 30, 2024
1 parent cf04fb8 commit 8583750
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions service/k8s/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ func TestStatefulSetServiceGetCreateOrUpdate(t *testing.T) {
return true, action.(kubetesting.UpdateActionImpl).Object, nil
})

mcli.AddReactor("delete", "statefulsets", func(action kubetesting.Action) (handled bool, ret runtime.Object, err error) {
return true, nil, nil
})

service := k8s.NewStatefulSetService(mcli, log.Dummy, metrics.Dummy)
err := service.CreateOrUpdateStatefulSet(testns, afterSts)
assert.NoError(err)
Expand Down

0 comments on commit 8583750

Please sign in to comment.