From 9a41e55f2aa57338dcfce2bb53b1b48c5f208e71 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Fri, 21 Apr 2017 09:13:16 +0200 Subject: [PATCH] add hack disclaimer --- test/tmuxomatic.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/tmuxomatic.sh b/test/tmuxomatic.sh index adbb8dd..3bcc910 100644 --- a/test/tmuxomatic.sh +++ b/test/tmuxomatic.sh @@ -75,6 +75,11 @@ function tmuxomatic__expect() { fi } +# TODO ideally specs shouldn't have any sleeps, but life is hard! Since +# circle-ci machine is kind of slow, sleeps need to be longer there. +# +# Ideally tmuxomatic__exec should now when a command has finished by using +# "tmux wait", or alert-silence hook, or some tmux sorcery like that. function tmuxomatic__sleep() { if [[ -z $CI ]]; then sleep "$1"