Skip to content

Use unique earth_age tiles in test_dataset_to_strings_with_none_values #3200

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

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Apr 24, 2024

The test_dataset_to_strings_with_none_values test was added in #3174 when addressing issue #3170.

To reproduce issue #3170, the test must delete the tiles from the cache and download them again. The original test usually works but may fail when running multiple tests parallelly (xref #3193). Two tests may download the same file at the same time or which may find the local file but then it is deleted when reading.

This PR fixes the problem by using two unique tiles that are not used in other tests. These two tiles are chosen because they have the smallest sizes (the original jp2 files on the GMT data server are smaller than 1 KB).

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Apr 24, 2024
@seisman seisman added this to the 0.12.0 milestone Apr 24, 2024
@seisman seisman merged commit 9aa2780 into main Apr 24, 2024
20 of 21 checks passed
@seisman seisman deleted the test/dataset-none branch April 24, 2024 10:21
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants