-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adjust image diff threshold for testMayaLights #55
Adjust image diff threshold for testMayaLights #55
Conversation
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.
is this for MacOS specifically? I'm tweaking the threshold for another test case,
Yes for macOS specifically, it's causing failures in preflights e.g. for #54, I've checked the output images and it does match the expected result so it looks like just a threshold issue |
If that, could we disable the test on MacOS first? I found if we use a pretty large threshold, we might miss the real failures. Meanwhile, we need to investigate why MacOS produced different images than Win/Linux for most test cases. |
IMAGE_DIFF_FAIL_THRESHOLD = 0.01 | ||
IMAGE_DIFF_FAIL_PERCENT = 0.2 | ||
@property | ||
def imageDiffFailThreshold(): |
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.
great, miss "self" as parameter?
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.
Yes definitely, though somehow it ran fine locally without it. Thanks for catching it
No description provided.