mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01: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.
(cherry picked from commit ca9696748a)
This commit is contained in:
parent
0877680b08
commit
78ac959e4c
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue