From 60422ba2ead07583dba311e9597f07789fe061d6 Mon Sep 17 00:00:00 2001 From: Artturin Date: Fri, 3 Dec 2021 19:59:38 +0200 Subject: [PATCH] nixos/test-driver: add 10ms delay to send_key attempt to fix https://github.com/NixOS/nixpkgs/issues/147294 --- nixos/lib/test-driver/test-driver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/lib/test-driver/test-driver.py b/nixos/lib/test-driver/test-driver.py index 2cdf4fc2732e..90c9e9be45cd 100755 --- a/nixos/lib/test-driver/test-driver.py +++ b/nixos/lib/test-driver/test-driver.py @@ -916,6 +916,7 @@ class Machine: def send_key(self, key: str) -> None: key = CHAR_TO_KEY.get(key, key) self.send_monitor_command("sendkey {}".format(key)) + time.sleep(0.01) def start(self) -> None: if self.booted: