mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
089c168fb9
Sometimes (particularly on macOS amd64) the serve s3 test fails with TestIntegration/FsMkdir/FsPutError where it wasn't expecting to get an object but it did. This is likely caused by a race between the serve s3 goroutine deleting the half uploaded file and the fstests code looking for it to not exist. This fix treats it like any other eventual consistency problem and retries the check using the test framework. |
||
---|---|---|
.. | ||
fstests | ||
mockdir | ||
mockfs | ||
mockobject | ||
test_all | ||
testserver | ||
testy | ||
fstest.go | ||
run.go |