GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — gh-137242: Add a `--no-randomize` option, and use it in Android CI by mhsmith · Pull Request #138303 · python/cpython Conversation
|
It looks like some tests are already doing that on some runners. I'll switch this PR back to draft until this has been resolved. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I dislike changing CI defaults.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # -j0 --fail-env-changed --rerun --fail-rerun --slowest --verbose3 | ||
| if ns.use_mp is None: | ||
| ns.use_mp = 0 | ||
| ns.randomize = True |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to keep randomization for --fast-ci and --slow-ci options.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would prefer adding an option to disable randomization, option which could be used with --fast-ci / --slow-ci.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| ns.fail_env_changed = True | ||
| if ns.python is None: | ||
| ns.rerun = True | ||
| ns.fail_rerun = True |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
You can already pass --fail-rerun. Making it the default would make all CIs way more strict, I dislike this idea. When I tried a few years ago, I discovered tons of flaky tests and it was a pain to fix all of them.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
--randomize, add --fail-rerun--no-randomize option, and use it in Android CI
| self.list_tests = False | ||
| self.single = False | ||
| self.randomize = False | ||
| self.randomize = None |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I would prefer avoiding None for randomize and keep a boolean instead. I wrote #138649 which is a clone of this PR with my additional change avoiding None. What do you think?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
That makes sense; I'll close this PR in favor of that one.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.