mirror of
https://github.com/octoleo/restic.git
synced 2024-11-16 10:05:25 +00:00
s3: Increase wait time for minio server
This commit is contained in:
parent
a61016cb55
commit
a325a20fb4
@ -49,7 +49,7 @@ func runMinio(ctx context.Context, t testing.TB, dir, key, secret string) func()
|
|||||||
|
|
||||||
// wait until the TCP port is reachable
|
// wait until the TCP port is reachable
|
||||||
var success bool
|
var success bool
|
||||||
for i := 0; i < 10; i++ {
|
for i := 0; i < 100; i++ {
|
||||||
time.Sleep(200 * time.Millisecond)
|
time.Sleep(200 * time.Millisecond)
|
||||||
|
|
||||||
c, err := net.Dial("tcp", "localhost:9000")
|
c, err := net.Dial("tcp", "localhost:9000")
|
||||||
|
Loading…
Reference in New Issue
Block a user