Skip to content
Snippets Groups Projects
Commit 1fef8635 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix log output for mail test

parent 35e2dab1
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ def send_test_email(): ...@@ -102,7 +102,7 @@ def send_test_email():
print_red('Failed to send email.') print_red('Failed to send email.')
print('No log entry found after %s seconds using command: %s' % (waited, cmd)) print('No log entry found after %s seconds using command: %s' % (waited, cmd))
return 1 return 1
print('Waiting %s seconds for email sending status.' % waited) print('Waiting %s seconds for email sending status.' % (timeout - waited))
time.sleep(waited) time.sleep(waited)
waited *= 2 waited *= 2
if 'bounced' not in out or 'The email account that you tried to reach does not exist.' in out: if 'bounced' not in out or 'The email account that you tried to reach does not exist.' in out:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment