-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Flaky test cache_test
#32657
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
Comments
I still insist my point: it's not quite right to test cache by this approach. |
This also impacts self-tests when using redis/memcache where the base delay is larger than the threshold and always triggers the slow warning It would be better to make it informative instead of a warning or to make the threshold larger as it only works correctly in memory/twoqueue. @6543 Pinging since you're the author of this - Is there any reason as to why 0.1 milliseconds? |
It believe it could be removed or changed. |
Change SlowCacheThreshold to 30 milliseconds so it doesn't trigger on non memory cache Closes: go-gitea#33190 Closes: go-gitea#32657
Backport #33220 by TheFox0x7 Change SlowCacheThreshold to 30 milliseconds so it doesn't trigger on non memory cache Closes: #33190 Closes: #32657 Co-authored-by: TheFox0x7 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
https://github.com/go-gitea/gitea/actions/runs/12043787826/job/33579745667?pr=32649
The text was updated successfully, but these errors were encountered: