Merge pull request #8522 from roidelapluie/fix-tsdb-test

Fix DB tests in the default branch
This commit is contained in:
Julien Pivotto 2021-02-19 07:00:44 +01:00 committed by GitHub
commit 423bde533c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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())