Add sleep to prevent mouse-during-insert test failure

The macOS CI manges to trigger this race.  When it happens the
"c" inserted by the last command is not seen by the test runner.
Let's fix this by adding yet another sleep.
This commit is contained in:
Johannes Altmanninger 2023-03-05 17:09:22 +01:00
parent 45d2d350f2
commit 0f55d21970

View File

@ -9,3 +9,4 @@ sleep .1
ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }' ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }'
sleep .1 sleep .1
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c<esc>" ] }' ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c<esc>" ] }'
sleep .1