Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Make test_imagegrid_cbar_mode_edge less flaky.#16656
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Feel free to merge with or without tim's suggestion.
It may make sense to add some machinery in image_comparison to check whether it's overwriting itself? (not in a "controlled" case like here after the PR when the same file is listed twice, but rather in a case where it doesn't expect such an overwrite and is likely due to parametrization) Not sure how complex this would be to implement, and therefore whether it's worth the trouble...
Since parametrizing the test allows it to run in parallel, this makes itflaky, as one process can overwrite the test result image of another.Our standard way for dealing with tests that use the same baseline imageis to pass duplicate filenames to `image_comparison`, because that isserialized.
…656-on-v3.2.xBackport PR#16656 on branch v3.2.x (Make test_imagegrid_cbar_mode_edge less flaky.)
PR Summary
Since parametrizing the test allows it to run in parallel, this makes it flaky, as one process can overwrite the test result image of another.
Our standard way for dealing with tests that use the same baseline image is to pass duplicate filenames to
image_comparison
, because that is serialized.PR Checklist