Commit 1386dba9 authored by Jérome Perrin's avatar Jérome Perrin

tests/example: use .example TLD to prevent lookups

Tests were using mywebsite.me, which is an existing domain for which
HTTP requests timeout, this make the test slow and it is generally not OK
that the test use a real web site. Using .example, as recommended by rfc2606
prevent these problems.
parent 1e037bf0
......@@ -47,7 +47,7 @@ software_product_list =
# "master_url" that will be used by the slapproxy to forward the request.
# Uncomment the sections bellow to enable multi-master sections, adter set
# Uncomment the sections bellow to enable multi-master sections, and set
# your cert/key.
#[multimaster/https://slap.vifib.com]
#key = key file path coming from your slapos master account
......@@ -55,8 +55,8 @@ software_product_list =
#software_release_list =
# http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg
#[multimaster/http://imaginary-slapos-master.com]
#[multimaster/http://imaginary-slapos-master.example]
# No certificate here: it is http.
#software_release_list =
# http://mywebsite.me/my_software_release.cfg
# http://slapos.example/my_software_release.cfg
# /some/arbitrary/local/unix/path
......@@ -1685,8 +1685,8 @@ class TestMultiMasterSupport(MasterMixin):
"""
Test multimaster support in slapproxy.
"""
external_software_release = 'http://mywebsite.me/exteral_software_release.cfg'
software_release_not_in_list = 'http://mywebsite.me/exteral_software_release_not_listed.cfg'
external_software_release = 'http://slapos.example/external_software_release.cfg'
software_release_not_in_list = 'http://slapos.example/external_software_release_not_listed.cfg'
def setUp(self):
self.addCleanup(self.stopExternalProxy)
......
......@@ -25,7 +25,7 @@ software_release_list =
[multimaster/http://%(external_proxy_host)s:%(external_proxy_port)s]
# No certificate here: it is http.
software_release_list =
http://mywebsite.me/exteral_software_release.cfg
http://slapos.example/external_software_release.cfg
# Request as a computer partition, so that requested partitions are linked
# to the partition requesting them.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment