Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner 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 vstinner changed the title bpo-31174: regrtest reseeds RNG before each test bpo-31227: regrtest reseeds RNG before each test Aug 17, 2017
@vstinner
Copy link
Member Author

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

@vstinner
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 vstinner closed this Oct 20, 2017
@vstinner 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