-
Notifications
You must be signed in to change notification settings - Fork 611
Open
Labels
Description
We have some tests that depend on random number generation, mainly for connection host failover. These tests were never really safely picking random numbers, they were inconsistent. I hacked some rand.Seed
calls in to get it working, but never liked the solution.
With Go 1.25, rand.Seed
doesn't work anymore and broke our main branch. I've skipped these tests for now (#1652) but we should look into updating to the new math/rand/v2 package.
Related blog post: