fix failing blockwriter tests
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
This commit is contained in:
parent
9fc53b7edf
commit
591e719dc1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue