mirror of
https://github.com/restic/restic.git
synced 2025-03-31 19:32:14 +00:00
backend/test: fix delayedRemoval timeout handling
The timeout for all blobs starts to run after the delete calls have been issue. Thus, use the same start time for all blobs instead of individual timeouts.
This commit is contained in:
parent
2e58561ad6
commit
4350b95d27
@ -740,8 +740,8 @@ func (s *Suite[C]) delayedRemove(t testing.TB, be backend.Backend, handles ...ba
|
||||
return err
|
||||
}
|
||||
|
||||
start := time.Now()
|
||||
for _, h := range handles {
|
||||
start := time.Now()
|
||||
attempt := 0
|
||||
var found bool
|
||||
var err error
|
||||
|
Loading…
x
Reference in New Issue
Block a user