Skip to content
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

Increase the threshold for snapshot tests #5298

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

lucasmerlin
Copy link
Collaborator

@lucasmerlin lucasmerlin added exclude from changelog tests Unit tests, regression tests, manual tests, … labels Oct 22, 2024
Copy link

Preview available at https://egui-pr-preview.github.io/pr/5298-lucas/increase-snapshot-threshold
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So sad that this is needed… I've pinged our rendering lord @Wumpf - maybe he has some ideas

// We might have to increase the threshold if there are minor differences when running tests
// on different gpus or different backends.
let threshold = 0.0;
// The default is 0.1.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Default where? In dify? Does that matter?

@emilk emilk merged commit d9a35a7 into master Oct 23, 2024
45 of 46 checks passed
@emilk emilk deleted the lucas/increase-snapshot-threshold branch October 23, 2024 09:19
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
* Related to emilk#5295 
* [x] I have followed the instructions in the PR template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from changelog tests Unit tests, regression tests, manual tests, …
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants