summary refs log tree commit diff
path: root/nixos/tests/prometheus.nix
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-12-23 13:08:36 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2020-12-23 13:08:36 +0100
commit39ebc637a12cee6447191431d4d4393aef9e552d (patch)
treeb6bd0dc2bb84edd039062cba3e41701ae14eb02b /nixos/tests/prometheus.nix
parent09067f8176ca425dcc00254db0235313d5bb4cee (diff)
downloadnixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar.gz
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar.bz2
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar.lz
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar.xz
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.tar.zst
nixpkgs-39ebc637a12cee6447191431d4d4393aef9e552d.zip
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
Diffstat (limited to 'nixos/tests/prometheus.nix')
-rw-r--r--nixos/tests/prometheus.nix2
1 files changed, 2 insertions, 0 deletions
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;