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
a489b51c
Commit
a489b51c
authored
5 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Fixed some logs
parent
d402c5e7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_mediaworker.py
+1
-1
1 addition, 1 deletion
tests/test_mediaworker.py
tests/test_ntp.py
+1
-1
1 addition, 1 deletion
tests/test_ntp.py
with
2 additions
and
2 deletions
tests/test_mediaworker.py
+
1
−
1
View file @
a489b51c
...
@@ -57,7 +57,7 @@ def check_celerity_connectivity(ip):
...
@@ -57,7 +57,7 @@ def check_celerity_connectivity(ip):
except
subprocess
.
CalledProcessError
:
except
subprocess
.
CalledProcessError
:
d
=
''
d
=
''
if
'
Celerity tasks server
'
in
d
:
if
'
Celerity tasks server
'
in
d
:
u
.
success
(
'
%s
Successfully reached tasks server from MediaWorker
"
%s
"
.
%s
'
%
ip
)
u
.
success
(
'
Successfully reached tasks server from MediaWorker
"
%s
"
.
'
%
ip
)
return
True
return
True
u
.
error
(
'
Failed to reach tasks server from MediaWorker
"
%s
"
.
'
%
ip
)
u
.
error
(
'
Failed to reach tasks server from MediaWorker
"
%s
"
.
'
%
ip
)
return
False
return
False
...
...
This diff is collapsed.
Click to expand it.
tests/test_ntp.py
+
1
−
1
View file @
a489b51c
...
@@ -64,7 +64,7 @@ def main():
...
@@ -64,7 +64,7 @@ def main():
servers
.
append
(
m
.
groups
()[
0
].
strip
())
servers
.
append
(
m
.
groups
()[
0
].
strip
())
for
expected_server
in
expected_servers
:
for
expected_server
in
expected_servers
:
if
expected_server
not
in
servers
:
if
expected_server
not
in
servers
:
u
.
warning
(
'
Warning: Expected NTP server %s not found in %s, found %s instead.
%s
'
%
(
expected_server
,
ntpconf
,
'
,
'
.
join
(
servers
)))
u
.
warning
(
'
Warning: Expected NTP server %s not found in %s, found %s instead.
'
%
(
expected_server
,
ntpconf
,
'
,
'
.
join
(
servers
)))
return
3
return
3
else
:
else
:
u
.
log
(
'
Expected NTP server %s found in configuration (total servers: %s).
'
%
(
expected_server
,
len
(
servers
)))
u
.
log
(
'
Expected NTP server %s found in configuration (total servers: %s).
'
%
(
expected_server
,
len
(
servers
)))
...
...
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