mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Make the S3 test more robust
Waiting for the minio unit is apparently not reliable enough, so let's also wait for the port.
This commit is contained in:
parent
81884c36a3
commit
ca9696748a
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ in
|
||||||
# Create a binary cache.
|
# Create a binary cache.
|
||||||
server.wait_for_unit("minio")
|
server.wait_for_unit("minio")
|
||||||
server.wait_for_unit("network-addresses-eth1.service")
|
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 config host add minio http://localhost:9000 ${accessKey} ${secretKey} --api s3v4")
|
||||||
server.succeed("mc mb minio/my-cache")
|
server.succeed("mc mb minio/my-cache")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue