From 32f7f5bd32aa5991684b59970b7d15ca5e314ed8 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Fri, 16 Sep 2022 16:51:11 -0500 Subject: [PATCH] [tests] Increase tmux-sleep duration when not under CI The tmux-complete test would regularly fail for me under WSL (AMD TR 1950X) without this small increase in sleep time. --- tests/test_functions/isolated-tmux-start.fish | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_functions/isolated-tmux-start.fish b/tests/test_functions/isolated-tmux-start.fish index 732ab26dd..3cfd6301c 100644 --- a/tests/test_functions/isolated-tmux-start.fish +++ b/tests/test_functions/isolated-tmux-start.fish @@ -25,9 +25,8 @@ function isolated-tmux-start end function tmux-sleep - set -q CI - and sleep 1 - or sleep .1 + set -q CI && sleep 1 + or sleep 0.3 end set -l fish (status fish-path)