mirror of
https://github.com/restic/restic.git
synced 2026-10-13 05:27:13 +00:00
backend tests: Use delayedRemove()
This commit is contained in:
1 parent
bca9566849
commit
b0fb95dfc9
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user