Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
dimitarvdimitrov committed Aug 22, 2023
1 parent 27fbf8f commit 79dde0f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/storegateway/bucket_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,17 +507,15 @@ func TestBucketStore_e2e(t *testing.T) {
return
}

if ok := t.Run("with small index cache", func(t *testing.T) {
t.Run("with small index cache", func(t *testing.T) {
indexCache2, err := indexcache.NewInMemoryIndexCacheWithConfig(s.logger, nil, indexcache.InMemoryIndexCacheConfig{
MaxItemSize: 50,
MaxSize: 100,
})
assert.NoError(t, err)
s.cache.SwapIndexCacheWith(indexCache2)
testBucketStore_e2e(t, ctx, s)
}); !ok {
return
}
})
})
}

Expand Down

0 comments on commit 79dde0f

Please sign in to comment.