mirror of
https://github.com/octoleo/restic.git
synced 2024-11-25 06:07:44 +00:00
Relax timeout backend test
This commit is contained in:
parent
a7a99be460
commit
514f1b8917
@ -449,8 +449,8 @@ func (s *Suite) TestListCancel(t *testing.T) {
|
||||
t.Fatalf("expected error not found, want %#v, got %#v", context.DeadlineExceeded, err)
|
||||
}
|
||||
|
||||
if i > 1 {
|
||||
t.Fatalf("wrong number of files returned by List, want <= 1, got %v", i)
|
||||
if i > 2 {
|
||||
t.Fatalf("wrong number of files returned by List, want <= 2, got %v", i)
|
||||
}
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user