about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2016-08-10 16:21:35 -0400
committerGraham Christensen <graham@grahamc.com>2016-08-10 16:21:35 -0400
commit5d2980aa8ed04e45cb43a8b34375bb44157c214d (patch)
tree2c2f914825ee88516ae15a24cb070098e635494f /nixos/tests
parentd969f3fa5110b458bbfe5d12774024a6329a6580 (diff)
downloadnixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar.gz
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar.bz2
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar.lz
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar.xz
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.tar.zst
nixlib-5d2980aa8ed04e45cb43a8b34375bb44157c214d.zip
gocd-agent / gocd-server: Reduce test memory requirements so Hydra builds
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/gocd-agent.nix2
-rw-r--r--nixos/tests/gocd-server.nix6
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;
     };
 };