mirror of
https://github.com/restic/restic.git
synced 2026-02-03 12:29:37 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue