nixpkgs-suyu/nixos
Sofi 07c76c980c nixos/minecraft-server: optimize world generation inside test
Due to how complex minecraft world generation has gotten in recent
years, it now can take several minutes to complete the first generation
of a world seed, even on relatively new and powerful hardware.

We are testing if a minecraft server can run inside of a nix enviroment,
and not so much about stress testing the CI.

Test running before this change:

> (finished: waiting for TCP port 43000, in 118.49 seconds)

Test running with this change:

> (finished: waiting for TCP port 43000, in 27.88 seconds)

Choice of using `level-type` and `generate-structures` was made as they
support almost every version of minecraft. These two also make it
extremely clear what it does, compared to the more complex
`generator-settings` and all its toggles.
2022-08-26 23:22:52 -04:00
..
doc Merge pull request #188174 from yayayayaka/matrix-synapse-systemd-hardening 2022-08-26 10:10:04 +02:00
lib Merge pull request #167692 from peperunas/onsuccess 2022-08-19 09:17:14 +02:00
maintainers use consistently user alice for examples 2022-08-05 13:13:24 +02:00
modules Merge pull request #185085 from ElvishJerricco/shutdown-ramfs-protection 2022-08-26 13:25:31 -04:00
tests nixos/minecraft-server: optimize world generation inside test 2022-08-26 23:22:52 -04:00
COPYING
default.nix
README
release-combined.nix treewide: remove myself as maintainer from some pkgs 2022-08-03 14:17:51 +02:00
release-small.nix Revert "release: add tests.packageTestsForChannelBlockers.curl.withCheck as a channel blocker" 2022-07-12 15:00:38 +03:00
release.nix nixos/release: add proxmox LXC and VMA 2022-07-13 10:44:41 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.