Skip to content

Fix flaky SearchTest.test_compat_override test#10601

Merged
EnTeQuAk merged 2 commits intomozilla:masterfrom
diox:fix-legacy-api-flaky-test
Feb 6, 2019
Merged

Fix flaky SearchTest.test_compat_override test#10601
EnTeQuAk merged 2 commits intomozilla:masterfrom
diox:fix-legacy-api-flaky-test

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