From 39ebc637a12cee6447191431d4d4393aef9e552d Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Wed, 23 Dec 2020 13:08:36 +0100 Subject: [PATCH] nixos/tests/prometheus: increase `memorySize` Apparently, our NixOS tests need more RAM now. This was needed for e.g. the `gitea`-test as well[1]. [1] affb72eccd5284defab1b557be65f45f8a02c86d --- nixos/tests/prometheus.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix index 6881c659e6d..70ac78a4a46 100644 --- a/nixos/tests/prometheus.nix +++ b/nixos/tests/prometheus.nix @@ -36,6 +36,7 @@ in import ./make-test-python.nix { nodes = { prometheus = { pkgs, ... }: { virtualisation.diskSize = 2 * 1024; + virtualisation.memorySize = 2048; environment.systemPackages = [ pkgs.jq ]; networking.firewall.allowedTCPPorts = [ grpcPort ]; services.prometheus = { @@ -132,6 +133,7 @@ in import ./make-test-python.nix { store = { pkgs, ... }: { virtualisation.diskSize = 2 * 1024; + virtualisation.memorySize = 2048; environment.systemPackages = with pkgs; [ jq thanos ]; services.thanos.store = { enable = true;