Skip to content

Commit c57f68a

Browse files
committed
Travis: use a local etcd server for RSA tests
The ECF public etcd server doesn't seem to respond anymore
1 parent b328327 commit c57f68a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ install:
3838
- sudo prosodyctl register user2 localhost foobar
3939
- sudo prosodyctl restart
4040
- curl -qL http://apache.mediamirrors.org/karaf/4.2.1/apache-karaf-4.2.1.tar.gz | tar xz -C /tmp
41+
- curl -qL https://github.com/etcd-io/etcd/releases/download/v3.3.10/etcd-v3.3.10-linux-amd64.tar.gz | tar xz -C /tmp && /tmp/etcd-v3.3.10-linux-amd64/etcd &
4142
- pip install nose coverage coverage_enable_subprocess coveralls
4243
- pip install https://github.com/tcalmant/jsonrpclib/archive/master.zip
4344
- pip install -r requirements.txt

tests/rsa/test_etcd_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
EndpointEvent,
5555
)
5656

57-
TEST_ETCD_HOSTNAME = "disco.ecf-project.org"
57+
TEST_ETCD_HOSTNAME = "localhost"
5858
TEST_ETCD_TOPPATH = "/etcddiscovery.tests"
5959

6060
ENDPOINT_LISTENER_SCOPE = "({0}=*)".format(ECF_ENDPOINT_CONTAINERID_NAMESPACE)

0 commit comments

Comments
 (0)