diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-12-24 13:59:57 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-12-24 14:06:40 +0100 |
commit | 562431130592150c9910b1abd5019c16c6d6fcb0 (patch) | |
tree | 2ce5f789325555a6eec81eadea83b480cfa162dd /nixos | |
parent | 2b5677caa342629ee42743ac92556ac8bf5e8ef9 (diff) |
nixosTests.keymap: Remove unnecessary sleep
When test-input-reader runs, it's standard input exists and will be buffered, so by the time the file exists, the standard input can already be written to. I have no reason to believe that a terminal emulator would start accepting input _after_ launching the command. I've tested this for hours in a loop without a single failure or timeout.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/tests/keymap.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/tests/keymap.nix b/nixos/tests/keymap.nix index 40f4762bed835..0bde21093b0a2 100644 --- a/nixos/tests/keymap.nix +++ b/nixos/tests/keymap.nix @@ -64,7 +64,6 @@ let # wait for reader to be ready machine.wait_for_file("${readyFile}") - machine.sleep(1) # send all keys for key in inputs: |