From 0f55d21970421f48ddf09a46a68ce30d8a40c73f Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 5 Mar 2023 17:09:22 +0100 Subject: [PATCH] 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. --- test/regression/0-mouse-during-insert/script | 1 + 1 file changed, 1 insertion(+) diff --git a/test/regression/0-mouse-during-insert/script b/test/regression/0-mouse-during-insert/script index aaf225ce4..5ce306011 100644 --- a/test/regression/0-mouse-during-insert/script +++ b/test/regression/0-mouse-during-insert/script @@ -9,3 +9,4 @@ sleep .1 ui_in '{ "jsonrpc": "2.0", "method": "mouse_release", "params": [ "left", 0, 4 ] }' sleep .1 ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "c" ] }' +sleep .1