s3: Increase wait time for minio server
This commit is contained in:
parent
a61016cb55
commit
a325a20fb4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue