nixpkgs
406de94b - nixos/test-driver: add `timeout` option for `wait_for_console_text`

Commit
2 years ago
nixos/test-driver: add `timeout` option for `wait_for_console_text` Previously, `wait_for_console_text` would block indefinitely until there were lines shown in the buffer. This is highly annoying when testing for things that can just hang for some reasons. This introduces a classical timeout mechanism via non-blocking get on the Queue.
Author
Committer
Parents
Loading