Skip to content

Commit

Permalink
nixos/tests/prometheus: increase memorySize
Browse files Browse the repository at this point in the history
Apparently, our NixOS tests need more RAM now. This was needed for e.g.
the `gitea`-test as well[1].

[1] affb72e
  • Loading branch information
Ma27 committed Dec 23, 2020
1 parent 09067f8 commit 39ebc63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/tests/prometheus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 39ebc63

Please sign in to comment.