3
0
Fork 0
forked from mirrors/nixpkgs

nixosTests.cockroachdb: bump memory

cockroachdb complained about not enough memory available.
This commit is contained in:
Florian Klink 2019-11-22 22:28:38 +01:00
parent 4009ef44e9
commit 98906dfdef

View file

@ -1,7 +1,7 @@
# This performs a full 'end-to-end' test of a multi-node CockroachDB cluster # 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 # 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 # 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 # CockroachDB requires synchronized system clocks within a small error window
# (~500ms by default) on each node in order to maintain a multi-node cluster. # (~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 # 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 # Install the KVM PTP "Virtualized Clock" driver. This allows a /dev/ptp0
# device to appear as a reference clock, synchronized to the host clock. # device to appear as a reference clock, synchronized to the host clock.