mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
fix TestDropOldTimeSeries on 32-bit
Signed-off-by: Joel Beckmeyer <joel@beckmeyer.us>
This commit is contained in:
parent
39f5a07236
commit
c8c128b0f1
|
@ -2077,7 +2077,7 @@ func createTimeseriesWithOldSamples(numSamples, numSeries int, extraLabels ...la
|
||||||
for j := 0; j < numSamples/2; j++ {
|
for j := 0; j < numSamples/2; j++ {
|
||||||
sample := record.RefSample{
|
sample := record.RefSample{
|
||||||
Ref: chunks.HeadSeriesRef(i),
|
Ref: chunks.HeadSeriesRef(i),
|
||||||
T: int64(int(time.Now().UnixMilli()) + j),
|
T: time.Now().UnixMilli() + int64(j),
|
||||||
V: float64(i),
|
V: float64(i),
|
||||||
}
|
}
|
||||||
samples = append(samples, sample)
|
samples = append(samples, sample)
|
||||||
|
|
Loading…
Reference in a new issue