fix failing blockwriter tests

Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
This commit is contained in:
jessicagreben 2021-03-01 06:16:05 -08:00
parent 9fc53b7edf
commit 591e719dc1
1 changed files with 0 additions and 4 deletions

View File

@ -36,10 +36,6 @@ func TestBlockWriter(t *testing.T) {
w, err := NewBlockWriter(log.NewNopLogger(), outputDir, DefaultBlockDuration)
require.NoError(t, err)
// Flush with no series results in error.
_, err = w.Flush(ctx)
require.EqualError(t, err, "no series appended, aborting")
// Add some series.
app := w.Appender(ctx)
ts1, v1 := int64(44), float64(7)