mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
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:
parent
7369561305
commit
889dd0bbd3
|
@ -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…
Reference in a new issue