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 <roidelapluie@inuits.eu>
This commit is contained in:
Julien Pivotto 2021-02-18 23:56:27 +01:00
parent 7369561305
commit 889dd0bbd3

View file

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