nixos/test-driver: add 10ms delay to send_key

attempt to fix https://github.com/NixOS/nixpkgs/issues/147294
This commit is contained in:
Artturin 2021-12-03 19:59:38 +02:00
parent a78dd785b2
commit 60422ba2ea

View file

@ -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: