mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-24 18:08:18 +03:00
2a40c81f10
For some reason we hit the case in CI where the TestFingerWithHostMetaCacheStrategy seems to experience some time dilation. It's possible this is a genuine bug, but I can't for the life of me reproduce it locally, even after having run this test thousands of times (-count=1000 when invoking go test etc.) This changes the test to explicitly stop the webfinger cache, set TTL and Sweep frequency to something well beyond the lifetime of the cache during the test and then starts the cache again. Hopefully that does it, because the other option that remains is that for some reason timekeeping in CI/Docker is not as precise as when running the test on a host. |
||
---|---|---|
.. | ||
controller.go | ||
deliver.go | ||
dereference.go | ||
derefinstance.go | ||
derefmedia.go | ||
finger.go | ||
finger_test.go | ||
signing.go | ||
transport.go | ||
transport_test.go |