From 7fc58200f69a91e94bb0605e5b63ab17e0c4e313 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Dec 03 2013 18:49:34 +0000 Subject: added one more iteration of imap login to hopefully improve flakyness of test --- diff --git a/tests/p_dovecot/dovecot_imap_login.sh b/tests/p_dovecot/dovecot_imap_login.sh index e74f1b9..f191bee 100755 --- a/tests/p_dovecot/dovecot_imap_login.sh +++ b/tests/p_dovecot/dovecot_imap_login.sh @@ -1,6 +1,6 @@ #!/bin/sh # Author: Athmane Madjoudj -# Christoph Galuschka +# Christoph Galuschka t_Log "Running $0 - adding imaptest local user account + attempting IMAP login" @@ -22,6 +22,10 @@ echo -e "01 LOGIN imaptest imaptest\n" | nc -w 5 localhost 143 | grep -q "Logged sleep 3 echo -e "01 LOGIN imaptest imaptest\n" | nc -w 5 localhost 143 | grep -q "Logged in." +# let's see if a third iteration reduces flakyness of the test +sleep 3 + +echo -e "01 LOGIN imaptest imaptest\n" | nc -w 5 localhost 143 | grep -q "Logged in." ret_val=$? t_CheckExitStatus $ret_val