git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/nexus: increase disk size of VM test to 8GB

Nexus increased their default minimum disk space requirement to 4GB: ``` com.orientechnologies.orient.core.exception.OLowDiskSpaceException: Error occurred while executing a write operation to database 'OSystem' due to limited free space on the disk (1823 MB). The database is now working in read-only mode. Please close the database (or stop OrientDB), make room on your hard drive and then reopen the database. The minimal required space is 4096 MB. Required space is now set to 4096MB (you can change it by setting parameter storage.diskCache.diskFreeSpaceLimit) . server# [ 72.560866] zqnav3mg7m6ixvdcacgj7p5ibijpibx5-unit-script-nexus-start[627]: DB name="OSystem" ``` Including the rest on the VM 8GB should be the most suitable solution. As the installer test also takes 8GB of disk size this should still be in an acceptable range.

commitedcd1494f7b905cf6b70d62ef227efd6a91953b3 authorMaximilian Bosch <maximilian@mbosch.me> dateThu 10 Jan 2019, 22:39 (8 years ago) parent27132c3
1 file changed+1−1
nixos/tests/nexus.nix+1−1
nixos/tests/nexus.nix+1−1
@@ -14,7 +14,7 @@ import ./make-test.nix ({ pkgs, ...} : {
1414 server =
1515 { ... }:
1616 { virtualisation.memorySize = 2047; # qemu-system-i386 has a 2047M limit
17− virtualisation.diskSize = 2048;
17+ virtualisation.diskSize = 8192;
1818
1919 services.nexus.enable = true;
2020 };