diff --git a/pkg/block/block_test.go b/pkg/block/block_test.go index 710de679940..c3a3b3cf5cb 100644 --- a/pkg/block/block_test.go +++ b/pkg/block/block_test.go @@ -183,7 +183,7 @@ func TestUpload(t *testing.T) { // Full block. testutil.Ok(t, Upload(ctx, log.NewNopLogger(), bkt, path.Join(tmpDir, "test", b1.String()))) testutil.Equals(t, 4, len(bkt.Objects())) - testutil.Equals(t, 3751, len(bkt.Objects()[path.Join(b1.String(), ChunksDirname, "000001")])) + testutil.Equals(t, 3753, len(bkt.Objects()[path.Join(b1.String(), ChunksDirname, "000001")])) testutil.Equals(t, 401, len(bkt.Objects()[path.Join(b1.String(), IndexFilename)])) testutil.Equals(t, 383, len(bkt.Objects()[path.Join(b1.String(), MetaFilename)])) } @@ -191,7 +191,7 @@ func TestUpload(t *testing.T) { // Test Upload is idempotent. testutil.Ok(t, Upload(ctx, log.NewNopLogger(), bkt, path.Join(tmpDir, "test", b1.String()))) testutil.Equals(t, 4, len(bkt.Objects())) - testutil.Equals(t, 3751, len(bkt.Objects()[path.Join(b1.String(), ChunksDirname, "000001")])) + testutil.Equals(t, 3753, len(bkt.Objects()[path.Join(b1.String(), ChunksDirname, "000001")])) testutil.Equals(t, 401, len(bkt.Objects()[path.Join(b1.String(), IndexFilename)])) testutil.Equals(t, 383, len(bkt.Objects()[path.Join(b1.String(), MetaFilename)])) }