(t *testing.T)
| 126 | } |
| 127 | |
| 128 | func TestNoCompactionWhenCompactionRange0(t *testing.T) { |
| 129 | _, _, c, _ := testConfig(t, 0) |
| 130 | |
| 131 | err := c.EnableCompaction(context.Background(), &CompactorConfig{ |
| 132 | MaxCompactionRange: 0, |
| 133 | }, &mockSharder{}, &mockOverrides{}) |
| 134 | require.Error(t, err) |
| 135 | } |
| 136 | |
| 137 | func TestBlockSharding(t *testing.T) { |
| 138 | // push a req with some traceID |
nothing calls this directly
no test coverage detected