3
0
Fork 0
forked from mirrors/nixpkgs

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] affb72eccd
This commit is contained in:
Maximilian Bosch 2020-12-23 13:08:36 +01:00
parent 09067f8176
commit 39ebc637a1
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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;