-
Notifications
You must be signed in to change notification settings - Fork 298
Description
📰 Custom Issue
The Iris image tests create hashes of all the generated images, and compare with the stored hashes in imagerepo.json. This gives us our graphics test coverage 👍
idiff.py provides an important convenience to help developers check failures by viewing images side-by-side. For this we use the images held in iris-test-data. We request in the documentation that iris-test-data is kept up to date with the images that produce the passing hashes, but I was surprised to learn that there are no scripts that guarantee this link. We have a check in test_image_json.py to make sure iris-test-data and imagerepo.json both have the same list of images, but any/all of these stored hashes could be inconsistent and we would not know.
This situation risks a divergence, which we would not be aware of, and which would mean developers acting on false information when running idiff.py.
It would be easy enough to write something. But since this involves hashing all the images in iris-test-data I would be reluctant to include this in the CI tests that are run against pull requests - too much time/resource. We could run a scheduled check once a day/week?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status