summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/api-remove.go
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-06-27 18:32:03 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-27 18:32:03 +0200
commit2a40c81f105d592ee474dd28fe8a7fdc31cb73f1 (patch)
treecedbf29d9a9865b0a4aeacb020a580d84f4346d5 /vendor/github.com/minio/minio-go/v7/api-remove.go
parent[bugfix] Use gtserror package for WrongType errs (#1930) (diff)
downloadgotosocial-2a40c81f105d592ee474dd28fe8a7fdc31cb73f1.tar.xz
[bugfix] Try to fix the webfinger test, again (#1931)
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.
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-remove.go')
0 files changed, 0 insertions, 0 deletions