Make the S3 test more robust
Waiting for the minio unit is apparently not reliable enough, so let's
also wait for the port.
(cherry picked from commit ca9696748a)
This commit is contained in:
@@ -68,6 +68,7 @@ in
|
||||
# Create a binary cache.
|
||||
server.wait_for_unit("minio")
|
||||
server.wait_for_unit("network-addresses-eth1.service")
|
||||
server.wait_for_open_port(9000)
|
||||
|
||||
server.succeed("mc config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4")
|
||||
server.succeed("mc mb minio/my-cache")
|
||||
|
||||
Reference in New Issue
Block a user