(ctx context.Context, meta *backend.BlockMeta)
| 220 | } |
| 221 | |
| 222 | func (w *slowWriter) WriteBlockMeta(ctx context.Context, meta *backend.BlockMeta) error { |
| 223 | w.wait <- struct{}{} // send a signal to a goroutine |
| 224 | <-w.wait // wait for the signal from the goroutine |
| 225 | return w.Writer.WriteBlockMeta(ctx, meta) |
| 226 | } |
| 227 | |
| 228 | func TestWriteBlockMetaWithNoCompactFlag(t *testing.T) { |
| 229 | tempDir := t.TempDir() |
nothing calls this directly
no test coverage detected