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

Fix flaky SearchTest.test_compat_override test #10601

Merged
merged 2 commits into from
Feb 6, 2019

Conversation

diox
Copy link
Member

@diox diox commented Feb 5, 2019

It depends on the cache key being different for the cached compat info, and using seconds precision to generate it wasn't enough. We could probably use a completely random value instead, but switching
to milliseconds keeps it an ever-incrementing value as before and should be safer.

Fix mozilla/addons#6374

It depends on the cache key being different for the cached compat
info, and using seconds precision to generate it wasn't enough. We
could probably use a completely random value instead, but switching
to milliseconds keeps it an ever-incrementing value as before and
should be safer.
@EnTeQuAk EnTeQuAk merged commit 657ac3a into mozilla:master Feb 6, 2019
MelissaAutumn pushed a commit to thunderbird/addons-server that referenced this pull request Aug 25, 2024
It depends on the cache key being different for the cached compat info, and using seconds precision to generate it wasn't enough. We could probably use a completely random value instead, but switching
to milliseconds keeps it an ever-incrementing value as before and should be safer.

Fix #10599
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix intermittent test failure SearchTest.test_compat_override
2 participants