I believe the flaky test is caused by having locations that only have the first part of the postal code. The test in question relies on the coordinates for a given 6-character postal code being cached, but with test data that only has 3 digit postal codes we don't cache the coordinates.
To be completely honest I'm not sure where I got the test data from or how this happened but it doesn't make sense to keep around test data with partial postal codes 🤷
Checklist before requesting a review
[x] I have performed a self-review of my code
[ ] If it is a core feature, I have added tests.
[x] Are there other PRs or Issues that I should link to here?
[ ] Will this be part of a product update? If yes, please write one phrase
about this update in the description above.
Describe your changes
Closes #398
I believe the flaky test is caused by having locations that only have the first part of the postal code. The test in question relies on the coordinates for a given 6-character postal code being cached, but with test data that only has 3 digit postal codes we don't cache the coordinates.
To be completely honest I'm not sure where I got the test data from or how this happened but it doesn't make sense to keep around test data with partial postal codes 🤷
Checklist before requesting a review