summaryrefslogtreecommitdiffstats
path: root/nixos/tests/hibernate.nix
AgeCommit message (Collapse)Author
2019-11-22nixos/hibernate: port test to pythonJan Hrnko
2018-09-19nixos/tests/hibernate: prevent non-deterministic failure (#46882)xeji
... that occurred mostly on i686. Improve timing. With this, the failures are no longer reproducible on my machine.
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth
2018-04-29nixos/tests/hibernate: Fix netcat flagsaszlig
I'm not sure why 024b501907eafbd89624e465ff21afbc96e9fec6 used -q 0 because even netcat-openbsd has the -N flag which IMO is the better way to shutdown the socket on EOF. Our default netcat implementation has changed once again[1] in 3c3b82234a6faa5a4c07323d0066452055d1ea81 and we're now using LibreSSL's implementation, which doesn't have a -q flag. See https://github.com/NixOS/nixpkgs/pull/39634 for the pull request introducing the switch. [1]: https://github.com/NixOS/nixpkgs/pull/19982 Signed-off-by: aszlig <aszlig@nix.build> Cc: @matthewbauer, @dtzWill, @Mic92
2017-09-06tests: Fix hibernateTim Steinbach
2017-04-02nixos hibernate test: Use waitForOpenPortTuomas Tynkkynen
There was one confusing recent failure of this: http://cache.nixos.org/log/myla8bc17j8spmifdxmrz9jswxwsf5w6-vm-test-run-hibernate.drv I don't have any real ideas on what could cause the problem but there is at least one theoretical one: the system starts hibernating before the listener process manages to open the TCP port for listening, and it can't open it after resuming because not enough pages from the netcat binary have been paged in (and as the 9p filesystem holding it is now toast, they can't be loaded anymore).
2016-10-30netcat: make netcat-openbsd the default netcat (#19411)sternenseemann
The motivation for this change is the following: As gnu-netcat, e. g. does not support ipv6, it is not suitable as default netcat. This commit also fixes all obvious build issues caused by this change.
2016-07-19nixos/tests: add hibernation testNikolay Amiantov