From 5d2980aa8ed04e45cb43a8b34375bb44157c214d Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 10 Aug 2016 16:21:35 -0400 Subject: [PATCH] gocd-agent / gocd-server: Reduce test memory requirements so Hydra builds --- nixos/tests/gocd-agent.nix | 2 +- nixos/tests/gocd-server.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/tests/gocd-agent.nix b/nixos/tests/gocd-agent.nix index b1282acdb044..5cadff089950 100644 --- a/nixos/tests/gocd-agent.nix +++ b/nixos/tests/gocd-agent.nix @@ -19,7 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : { gocd_agent = { config, pkgs, ... }: { - virtualisation.memorySize = 2048; + virtualisation.memorySize = 2046; services.gocd-agent = { enable = true; }; diff --git a/nixos/tests/gocd-server.nix b/nixos/tests/gocd-server.nix index 6ec5bfb4dbb9..b473d4ad61c7 100644 --- a/nixos/tests/gocd-server.nix +++ b/nixos/tests/gocd-server.nix @@ -2,7 +2,7 @@ # 1. GoCD server starts # 2. GoCD server responds -import ./make-test.nix ({ pkgs, ...} : +import ./make-test.nix ({ pkgs, ...} : { name = "gocd-server"; @@ -13,8 +13,8 @@ import ./make-test.nix ({ pkgs, ...} : nodes = { gocd_server = { config, pkgs, ... }: - { - virtualisation.memorySize = 2048; + { + virtualisation.memorySize = 2046; services.gocd-server.enable = true; }; };