1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-09 00:00:02 +01:00

backend tests: Use delayedRemove()

This commit is contained in:
Alexander Neumann 2017-06-19 20:02:49 +02:00
parent bca9566849
commit b0fb95dfc9

View file

@ -330,7 +330,7 @@ func (s *Suite) TestSave(t *testing.T) {
t.Fatal(err)
}
err = b.Remove(context.TODO(), h)
err = delayedRemove(t, b, h, s.WaitForDelayedRemoval)
if err != nil {
t.Fatalf("error removing item: %+v", err)
}