New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sort: avoid calling rand.Seed
in test helpers
#61142
Comments
Solving PR: #61143 |
This does not need to be a proposal. |
Contributing to go lang for the first time, might have misunderstood some guideline. Can you pls also check the attached pr. |
rand.Seed
in makeRandomInts
test helper
rand.Seed
in makeRandomInts
test helperrand.Seed
in test helpers
Change https://go.dev/cl/507575 mentions this issue: |
Change https://go.dev/cl/551155 mentions this issue: |
This allows to drop the use of deprecated rand.Seed in benchmarks. Fixes golang#61142 Change-Id: I628848c0d4a500dc9a361930c393e47c3361a95c Reviewed-on: https://go-review.googlesource.com/c/go/+/551155 Reviewed-by: Eli Bendersky <eliben@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
sort_benchmark_go
is using rand.Seed() which is depreciated, and we should be using latest procedure(Doc) for benchmarking.
The text was updated successfully, but these errors were encountered: