We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f063ec9 commit ce5624dCopy full SHA for ce5624d
client/pull_test.go
@@ -212,7 +212,7 @@ func seedRandomNumberGenerator(t *testing.T) {
212
if _, err := crypto_rand.Read(b[:]); err != nil {
213
t.Fatalf("error seeding random number generator: %v", err)
214
}
215
- math_rand.Seed(int64(binary.LittleEndian.Uint64(b[:])))
+ math_rand.New(math_rand.NewSource(int64(binary.LittleEndian.Uint64(b[:]))))
216
217
218
// mockLibraryServer returns *httptest.Server that mocks Cloud Library server; in particular,
0 commit comments