about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-11-22 22:28:38 +0100
committerFlorian Klink <flokli@flokli.de>2020-04-03 00:34:18 +0200
commit98906dfdefe322cb573c7c54b4744ef781bdd2cd (patch)
treedfac449c47c9194809ff92781b9b88398c7a5a7c /nixos
parent4009ef44e9a1b0dec6ab1df418ad1f54647e9b63 (diff)
downloadnixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar.gz
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar.bz2
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar.lz
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar.xz
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.tar.zst
nixlib-98906dfdefe322cb573c7c54b4744ef781bdd2cd.zip
nixosTests.cockroachdb: bump memory
cockroachdb complained about not enough memory available.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/cockroachdb.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/cockroachdb.nix b/nixos/tests/cockroachdb.nix
index 33ff7c31b25f..a03a223d66a3 100644
--- a/nixos/tests/cockroachdb.nix
+++ b/nixos/tests/cockroachdb.nix
@@ -1,7 +1,7 @@
 # This performs a full 'end-to-end' test of a multi-node CockroachDB cluster
 # using the built-in 'cockroach workload' command, to simulate a semi-realistic
 # test load. It generally takes anywhere from 3-5 minutes to run and 1-2GB of
-# RAM (though each of 3 workers gets 1GB allocated)
+# RAM (though each of 3 workers gets 2GB allocated)
 #
 # CockroachDB requires synchronized system clocks within a small error window
 # (~500ms by default) on each node in order to maintain a multi-node cluster.
@@ -55,7 +55,7 @@ let
 
     {
       # Bank/TPC-C benchmarks take some memory to complete
-      virtualisation.memorySize = 1024;
+      virtualisation.memorySize = 2048;
 
       # Install the KVM PTP "Virtualized Clock" driver. This allows a /dev/ptp0
       # device to appear as a reference clock, synchronized to the host clock.