Skip to content

Commit

Permalink
Reduce number of emails in test
Browse files Browse the repository at this point in the history
  • Loading branch information
juruen committed Aug 22, 2014
1 parent 1f095ce commit 9a14319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/email-test/run.sh
Expand Up @@ -22,15 +22,15 @@ cd ../..

sleep 5

./send-events.py 800 &
./send-events.py 500 &

for i in $(seq 0 120); do

EMAILS=$(sudo sh -c 'grep "^To:" /var/mail/ubuntu | wc -l') || true

echo "EMAILS: ${EMAILS}"

if [ "$EMAILS" == "800" ]; then
if [ "$EMAILS" == "500" ]; then
cleanup
exit 0
fi
Expand Down

0 comments on commit 9a14319

Please sign in to comment.