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
a023b86f
Commit
a023b86f
authored
8 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
add print if dns is different to the actual ip, refs
#20581
parent
55531557
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_dns_records.py
+1
-0
1 addition, 0 deletions
tests/test_dns_records.py
with
1 addition
and
0 deletions
tests/test_dns_records.py
+
1
−
0
View file @
a023b86f
...
@@ -38,6 +38,7 @@ def check_dns(hostname, expected_ip):
...
@@ -38,6 +38,7 @@ def check_dns(hostname, expected_ip):
color
=
GREEN
color
=
GREEN
address
=
get_result
(
output
)
address
=
get_result
(
output
)
if
address
!=
expected_ip
:
if
address
!=
expected_ip
:
print
(
'
Expected ip was: %s, got %s
'
%
(
expected_ip
,
address
))
color
=
RED
color
=
RED
all_ok
=
False
all_ok
=
False
else
:
else
:
...
...
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