summary refs log tree commit diff
path: root/nixos/tests/minio.nix
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@nextrem.ch>2017-10-01 20:58:28 +0200
committerPascal Bach <pascal.bach@nextrem.ch>2017-10-08 12:24:29 +0200
commit1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e (patch)
tree1b2981302a3a6c5a841672b65c6d210d2343cf5c /nixos/tests/minio.nix
parent45ffca6ff84ca5e00842900802af577dcfb3e84f (diff)
downloadnixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar.gz
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar.bz2
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar.lz
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar.xz
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.tar.zst
nixpkgs-1983e6c8ccdd631e3bbf325b9c5b58b61fd7f63e.zip
minio: 20170613 -> 2017-09-29T19-16-56Z
The test was updated as minio now needs at least 1 GiB of free disk,
otherwise it won't start.
Diffstat (limited to 'nixos/tests/minio.nix')
-rw-r--r--nixos/tests/minio.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/tests/minio.nix b/nixos/tests/minio.nix
index a349265b2f5..07a292a9baa 100644
--- a/nixos/tests/minio.nix
+++ b/nixos/tests/minio.nix
@@ -12,6 +12,9 @@ import ./make-test.nix ({ pkgs, ...} : {
         secretKey = "V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12";
       };
       environment.systemPackages = [ pkgs.minio-client ];
+
+      # Minio requires at least 1GiB of free disk space to run.
+      virtualisation.diskSize = 4 * 1024;
     };
   };
 
@@ -20,7 +23,6 @@ import ./make-test.nix ({ pkgs, ...} : {
       startAll;
       $machine->waitForUnit("minio.service");
       $machine->waitForOpenPort(9000);
-      $machine->succeed("curl --fail http://localhost:9000/minio/index.html");
 
       # Create a test bucket on the server
       $machine->succeed("mc config host add minio http://localhost:9000 BKIKJAA5BMMU2RHO6IBB V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12 S3v4");