fix TestDropOldTimeSeries on 32-bit

Signed-off-by: Joel Beckmeyer <joel@beckmeyer.us>
This commit is contained in:
Joel Beckmeyer 2024-12-16 08:41:50 -05:00
parent 39f5a07236
commit c8c128b0f1

View file

@ -2077,7 +2077,7 @@ func createTimeseriesWithOldSamples(numSamples, numSeries int, extraLabels ...la
for j := 0; j < numSamples/2; j++ {
sample := record.RefSample{
Ref: chunks.HeadSeriesRef(i),
T: int64(int(time.Now().UnixMilli()) + j),
T: time.Now().UnixMilli() + int64(j),
V: float64(i),
}
samples = append(samples, sample)