2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-25 20:11:06 +00:00

Relax timeout backend test

This commit is contained in:
Alexander Neumann 2018-02-10 12:53:38 +01:00
parent a7a99be460
commit 514f1b8917

View File

@ -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)
}
})