diff --git a/pkg/testhelpers/helpers.go b/pkg/testhelpers/helpers.go index f25284f22..5b1f0dffb 100644 --- a/pkg/testhelpers/helpers.go +++ b/pkg/testhelpers/helpers.go @@ -5,7 +5,6 @@ import ( "math/rand" "os" "strconv" - "time" ) var ( @@ -21,7 +20,8 @@ const IntegrationTestAccountID = 3806526 // RandSeq is used to get a string made up of n random lowercase letters. func RandSeq(n int) string { - rand.Seed(time.Now().UnixNano()) + // commented this line out, since this no longer works with go1.21 and needs no alternative, as seeding isn't needed + // rand.Seed(time.Now().UnixNano()) b := make([]rune, n) for i := range b { b[i] = letters[rand.Intn(len(letters))]