mirror of
https://github.com/rclone/rclone
synced 2024-11-23 00:06:55 +01:00
fs/fserrors: Add test for error from #1964
This commit is contained in:
parent
8e86a902e2
commit
ee66419a27
@ -96,6 +96,7 @@ func TestShouldRetry(t *testing.T) {
|
||||
{makeNetErr(syscall.Errno(123123123)), false},
|
||||
{&url.Error{Op: "post", URL: "/", Err: io.EOF}, true},
|
||||
{&url.Error{Op: "post", URL: "/", Err: errUseOfClosedNetworkConnection}, true},
|
||||
{&url.Error{Op: "post", URL: "/", Err: fmt.Errorf("net/http: HTTP/1.x transport connection broken: %v", fmt.Errorf("http: ContentLength=%d with Body length %d", 100663336, 99590598))}, true},
|
||||
{
|
||||
errors.Wrap(&url.Error{
|
||||
Op: "post",
|
||||
|
Loading…
Reference in New Issue
Block a user