Chore: Update target in go.mod to 1.20 and golangci-lint to v1.52.2 (#67102)

This commit is contained in:
Emil Tullstedt
2023-05-10 13:47:35 +02:00
committed by GitHub
parent 5e25334663
commit b0e681c339
11 changed files with 86 additions and 15 deletions

View File

@ -632,9 +632,9 @@ func TestIntegrationPostgres(t *testing.T) {
err := sess.CreateTable(metric_values{})
require.NoError(t, err)
rand.Seed(time.Now().Unix())
rng := rand.New(rand.NewSource(time.Now().Unix()))
rnd := func(min, max int64) int64 {
return rand.Int63n(max-min) + min
return rng.Int63n(max-min) + min
}
var tInitial time.Time