(t *testing.T)
| 43 | } |
| 44 | |
| 45 | func TestBlocksCleaner(t *testing.T) { |
| 46 | for _, options := range []testBlocksCleanerOptions{ |
| 47 | {concurrency: 1, tenantDeletionDelay: 0, user4FilesExist: false}, |
| 48 | {concurrency: 1, tenantDeletionDelay: 2 * time.Hour, user4FilesExist: true}, |
| 49 | {concurrency: 1, markersMigrationEnabled: true}, |
| 50 | {concurrency: 2}, |
| 51 | {concurrency: 10}, |
| 52 | } { |
| 53 | |
| 54 | t.Run(options.String(), func(t *testing.T) { |
| 55 | t.Parallel() |
| 56 | testBlocksCleanerWithOptions(t, options) |
| 57 | }) |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | func TestBlockCleaner_KeyPermissionDenied(t *testing.T) { |
| 62 | const userID = "user-1" |
nothing calls this directly
no test coverage detected