kubo/test/dependencies
Andrew Gillis f7e0568a50
feat: IPFS_WAIT_REPO_LOCK (#10797)
* repo: optionally wait to acquire repo lock

Retry acquiring repo lock for a specified amount of time. Retry once per second until time is expired ro lock is acquired.

Lock wait timeout is specified using the environment variable `IPFS_WAIT_REPO_LOCK` and assigning it a value that is parsable as a golang `time.Duration`. For example:

```
IPFS_WAIT_REPO_LOCK="5s"
```

Closes #10482

* document IPFS_WAIT_REPO_LOCK

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-05-07 14:28:43 +00:00
..
go-sleep vendor binary deps in test/dependencies 2015-09-10 18:09:12 -07:00
go-timeout fix govet warnings 2018-03-22 17:31:22 +01:00
iptb style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
ma-pipe-unidir style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
pollEndpoint chore: update test dependencies (#10555) 2024-10-21 17:07:53 -07:00
dependencies.go Replace go-random with random-data from go-test package (#10731) 2025-02-24 13:42:39 -08:00
GNUmakefile fix: require gmake 2019-08-01 12:18:56 -07:00
go.mod feat: IPFS_WAIT_REPO_LOCK (#10797) 2025-05-07 14:28:43 +00:00
go.sum feat: IPFS_WAIT_REPO_LOCK (#10797) 2025-05-07 14:28:43 +00:00