Skip to content

Commit

Permalink
fix(redis): fix issue of unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jim.sj committed Jul 23, 2022
1 parent 9153240 commit f98e33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/redisfailover/service/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func TestGetNumberMastersIsMasterError(t *testing.T) {
checker := rfservice.NewRedisFailoverChecker(ms, mr, log.DummyLogger{})

_, err := checker.GetNumberMasters(rf)
assert.Error(err)
assert.NoError(err)
}

func TestGetNumberMasters(t *testing.T) {
Expand Down

0 comments on commit f98e33f

Please sign in to comment.