git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit39ebc637a12cee6447191431d4d4393aef9e552d authorMaximilian Bosch <maximilian@mbosch.me> dateWed 23 Dec 2020, 13:08 (6 years ago) parent09067f8
1 file changed+2
nixos/tests/prometheus.nix+2
nixos/tests/prometheus.nix+2
@@ -36,6 +36,7 @@ in import ./make-test-python.nix {
3636 nodes = {
3737 prometheus = { pkgs, ... }: {
3838 virtualisation.diskSize = 2 * 1024;
39+ virtualisation.memorySize = 2048;
3940 environment.systemPackages = [ pkgs.jq ];
4041 networking.firewall.allowedTCPPorts = [ grpcPort ];
4142 services.prometheus = {
@@ -132,6 +133,7 @@ in import ./make-test-python.nix {
132133
133134 store = { pkgs, ... }: {
134135 virtualisation.diskSize = 2 * 1024;
136+ virtualisation.memorySize = 2048;
135137 environment.systemPackages = with pkgs; [ jq thanos ];
136138 services.thanos.store = {
137139 enable = true;