Skip to content

Commit

Permalink
Make sure you guard against same values
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRichardson committed Feb 2, 2018
1 parent 5a6df60 commit da247f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cluster/hashring/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ func TestUpdateRemoteActors(t *testing.T) {

t.Run("update - remove old", func(t *testing.T) {
fn := func(host string, old string) bool {
if host == old {
return true
}

hosts := []string{host}

ctrl := gomock.NewController(t)
Expand Down

0 comments on commit da247f5

Please sign in to comment.