about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@nextrem.ch>2024-03-03 11:22:22 +0100
committerGitHub <noreply@github.com>2024-03-03 11:22:22 +0100
commit8240cbf81b9574d0b245f18df208cfc13e56bf21 (patch)
tree9f26f274018dd398368830cf37db31c499ffa608 /nixos
parent286977c08ddf540b4c6bebd8cd96fe30070bcb46 (diff)
parent7305821c58b9d7dbd493e7fb847a0480ffa5cb08 (diff)
Merge pull request #292124 from r-ryantm/auto-update/minio
minio: 2024-02-24T17-11-14Z -> 2024-02-26T09-33-48Z
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/minio.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/minio.nix b/nixos/tests/minio.nix
index ece4864f771c0..67eb0cd884400 100644
--- a/nixos/tests/minio.nix
+++ b/nixos/tests/minio.nix
@@ -43,17 +43,17 @@ import ./make-test-python.nix ({ pkgs, ... }:
 
         # Minio requires at least 1GiB of free disk space to run.
         virtualisation.diskSize = 4 * 1024;
+
+        # Minio pre allocates 2GiB or memory, reserve some more
+        virtualisation.memorySize = 4096;
       };
     };
 
     testScript = ''
-      import time
 
       start_all()
       # simulate manually editing root credentials file
       machine.wait_for_unit("multi-user.target")
-      machine.copy_from_host("${credsPartial}", "${rootCredentialsFile}")
-      time.sleep(3)
       machine.copy_from_host("${credsFull}", "${rootCredentialsFile}")
 
       machine.wait_for_unit("minio.service")