[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Member

vstinner commented Aug 10, 2017

regrtest now reseeds the random RNG before each test file.

Use also more entropy for the seed: 2**32 (32 bits) rather than
10_000_000 (24 bits).

https://bugs.python.org/issue31227

regrtest now reseeds the random RNG before each test file.

Use also more entropy for the seed: 2**32 (32 bits) rather than
10_000_000 (24 bits).
vstinner changed the title bpo-31174: regrtest reseeds RNG before each test bpo-31227: regrtest reseeds RNG before each test Aug 17, 2017
Copy link
Member Author

I added a test to make sure that the behaviour is the same when tests are run in parallel.

Copy link
Member Author

I didn't get a strong +1 on the issue and I'm not convinced myself by my approach. Moreover, Refleaks buildbots now seem to be reliable thanks to other fixes. For all these reasons, I close the PR.

vstinner closed this Oct 20, 2017
vstinner deleted the regrtest_random branch October 24, 2017 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants