mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: fix tests for 32-bit arches such as GOARCH=386 and GOARCH=arm
This commit is contained in:
parent
9945b8c98d
commit
1659135752
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ func getRandValues(rowsCount int) []int64 {
|
|||
|
||||
func getRandTimestamps(rowsCount int) []int64 {
|
||||
a := make([]int64, rowsCount)
|
||||
ts := int64(rand.Intn(1e12))
|
||||
ts := int64(rand.Intn(1e9))
|
||||
for i := 0; i < rowsCount; i++ {
|
||||
a[i] = ts
|
||||
ts += int64(rand.Intn(1e5))
|
||||
|
|
Loading…
Reference in a new issue