nixos/test-driver: add 10ms delay to send_key
attempt to fix https://github.com/NixOS/nixpkgs/issues/147294
This commit is contained in:
parent
a78dd785b2
commit
60422ba2ea
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue