mirror of
https://github.com/restic/restic.git
synced 2024-08-23 20:57:24 +02:00
The retry backend does not return the original error, if its execution is interrupted by canceling the context. Thus, we have to manually ensure that the invalid data error gets returned. Additionally, use the retry backend for some of the repository tests, as this is the configuration which will be used by restic. |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
fuzz_test.go | ||
key.go | ||
packer_manager_test.go | ||
packer_manager.go | ||
packer_uploader.go | ||
repack_test.go | ||
repack.go | ||
repository_internal_test.go | ||
repository_test.go | ||
repository.go | ||
testing.go |