forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fa8253
commit bacadc5
Showing
6 changed files
with
596 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
commit 5935d82988b6f4d36ffc7eaf1a954d662d35e837 | ||
Author: Joel Beckmeyer <[email protected]> | ||
Date: Mon Dec 16 08:41:50 2024 -0500 | ||
|
||
fix TestDropOldTimeSeries on 32-bit | ||
|
||
Signed-off-by: Joel Beckmeyer <[email protected]> | ||
|
||
diff --git a/storage/remote/queue_manager_test.go b/storage/remote/queue_manager_test.go | ||
index 4b7c5a4e9..2dba17832 100644 | ||
--- a/storage/remote/queue_manager_test.go | ||
+++ b/storage/remote/queue_manager_test.go | ||
@@ -2073,7 +2073,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) |
Oops, something went wrong.