(t *testing.T, bkt objstore.Bucket, userID string, blockID ulid.ULID, deletionTime time.Time)
| 1433 | } |
| 1434 | |
| 1435 | func createDeletionMark(t *testing.T, bkt objstore.Bucket, userID string, blockID ulid.ULID, deletionTime time.Time) { |
| 1436 | content := mockDeletionMarkJSON(blockID.String(), deletionTime) |
| 1437 | blockPath := path.Join(userID, blockID.String()) |
| 1438 | markPath := path.Join(blockPath, metadata.DeletionMarkFilename) |
| 1439 | |
| 1440 | require.NoError(t, bkt.Upload(context.Background(), markPath, strings.NewReader(content))) |
| 1441 | } |
| 1442 | |
| 1443 | func createNoCompactionMark(t *testing.T, bkt objstore.Bucket, userID string, blockID ulid.ULID) { |
| 1444 | content := mockNoCompactBlockJSON(blockID.String()) |
no test coverage detected