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

Fix DB tests in the default branch
pull/8523/head
Julien Pivotto 4 years ago committed by GitHub
commit 423bde533c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1115,7 +1115,7 @@ func TestTombstoneCleanResultEmptyBlock(t *testing.T) {
smpls := make([]float64, numSamples) smpls := make([]float64, numSamples)
for i := int64(0); i < numSamples; i++ { for i := int64(0); i < numSamples; i++ {
smpls[i] = rand.Float64() 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()) require.NoError(t, app.Commit())

Loading…
Cancel
Save