Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: 🌲 Harry 🌊 John 🏔 <[email protected]>
  • Loading branch information
harry671003 committed Nov 23, 2023
1 parent fa29c39 commit 190d02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storegateway/bucket_stores_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func TestBucketStores_syncUsersBlocks(t *testing.T) {
"when sharding is enabled only stores for filtered users should be created": {
shardingStrategy: func() ShardingStrategy {
s := &mockShardingStrategy{}
s.On("FilterUsers", mock.Anything, allUsers, true).Return([]string{"user-1", "user-2"})
s.On("FilterUsers", mock.Anything, allUsers).Return([]string{"user-1", "user-2"})
return s
}(),
expectedStores: 2,
Expand Down

0 comments on commit 190d02f

Please sign in to comment.