Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
1fef8635
Commit
1fef8635
authored
7 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
fix log output for mail test
parent
35e2dab1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_email.py
+1
-1
1 addition, 1 deletion
tests/test_email.py
with
1 addition
and
1 deletion
tests/test_email.py
+
1
−
1
View file @
1fef8635
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment