From 735105e33f54484ba91933de1e1d269b05b5f4bb Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Mon, 3 May 2021 12:13:18 +0200 Subject: [PATCH] bind tests: One more attempt to increase the timeouts This is the last time I'm doing this before I rip these particular tests out. As far as I know there is no actual *problem* here, this is just failing through a combination of macOS and Github Actions being slow as molasses. So it is wasting our time and therefore worse than not having these tests at all, especially since they very rarely fail for good reasons. We would leave some escape delay tests intact with generous timeouts, which would provide 90% of the coverage with 10% of the hassle. --- tests/pexpects/bind.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pexpects/bind.py b/tests/pexpects/bind.py index 8f57fedc6..5178a4c6c 100644 --- a/tests/pexpects/bind.py +++ b/tests/pexpects/bind.py @@ -86,7 +86,7 @@ expect_prompt( send("echo TEXT") send("\033") # Delay needed to allow fish to transition to vi "normal" mode. -sleep(0.250) +sleep(0.300) send("hhrAi\r") expect_prompt( "\r\nTAXT\r\n", unmatched="vi mode replace char, default timeout: long delay" @@ -96,7 +96,7 @@ expect_prompt( send("echo MORE-TEXT") send("\033") # Delay needed to allow fish to transition to vi "normal" mode. -sleep(0.250) +sleep(0.300) send("xxxxx\r") # vi mode delete char, default timeout: long delay @@ -159,9 +159,9 @@ expect_prompt() send("echo fail: lengthened escape timeout") send("\033") -sleep(0.250) +sleep(0.300) send("ddi") -sleep(0.1) +sleep(0.15) send("echo success: lengthened escape timeout\r") expect_prompt( "\r\nsuccess: lengthened escape timeout\r\n",