From 889dd0bbd3217c0ebdb53ff3bab13dc5e4763ef6 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Thu, 18 Feb 2021 23:56:27 +0100 Subject: [PATCH] Fix DB tests in the default branch The main branch tests are not passing due to the fact that #8489 was not rebased on top of #8007. Signed-off-by: Julien Pivotto --- tsdb/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db_test.go b/tsdb/db_test.go index 4849153de..502f2c556 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -1115,7 +1115,7 @@ func TestTombstoneCleanResultEmptyBlock(t *testing.T) { smpls := make([]float64, numSamples) for i := int64(0); i < numSamples; i++ { smpls[i] = rand.Float64() - app.Add(labels.Labels{{Name: "a", Value: "b"}}, i, smpls[i]) + app.Append(0, labels.Labels{{Name: "a", Value: "b"}}, i, smpls[i]) } require.NoError(t, app.Commit())