forked from TrueCloudLab/restic
backend tests: Use delayedRemove()
This commit is contained in:
parent
bca9566849
commit
b0fb95dfc9
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ func (s *Suite) TestSave(t *testing.T) {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = b.Remove(context.TODO(), h)
|
err = delayedRemove(t, b, h, s.WaitForDelayedRemoval)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("error removing item: %+v", err)
|
t.Fatalf("error removing item: %+v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue