Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.toolbox
Commits
33722a40
Commit
33722a40
authored
Nov 08, 2018
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DNS resolution test randomness by using eu.web.vifib.com domain
parent
ed0ae681
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
slapos/test/test_networkbench.py
slapos/test/test_networkbench.py
+3
-5
No files found.
slapos/test/test_networkbench.py
View file @
33722a40
...
...
@@ -37,13 +37,11 @@ DNS_EXPECTED_LIST = ["85.118.38.162", "176.31.129.213"]
class
TestDNSBench
(
unittest
.
TestCase
):
def
test_dnsbench_ok
(
self
):
""" Test dns resolution, this test may fail if
not ran from Europe.
# Update domain later.
"""
Test dns resolution
"""
info
=
dnsbench
.
resolve
(
"
www.erp5
.com"
,
DNS_EXPECTED_LIST
)
"
eu.web.vifib
.com"
,
DNS_EXPECTED_LIST
)
self
.
assertEqual
(
info
[
0
],
'DNS'
)
self
.
assertEqual
(
info
[
1
],
'www.erp5.com'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment