Summary: | Unit tests fail if tcp port 4242 is already used | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alban Crequy <alban.crequy> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://cgit.collabora.com/git/user/alban/telepathy-gabble.git/log/?h=tcpport-tests | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
[PATCH 1/2] Tests: use another tcp port if 4242 is already used
[PATCH 2/2] Don't use "localhost" for listening: name resolution is not working |
Description
Alban Crequy
2012-02-01 05:38:29 UTC
Created attachment 60607 [details] [review] [PATCH 1/2] Tests: use another tcp port if 4242 is already used Created attachment 60608 [details] [review] [PATCH 2/2] Don't use "localhost" for listening: name resolution is not working This patch is useful when /etc/hosts does not contain the following line: 127.0.0.1 localhost I used it to be able to run tests on some computer where I couldn't fix /etc/hosts... I don't know if it worth merging that upstream tbh, but here is the patch :) Wouldn't it be better to listenTCP() first, and make_connection afterwards? Then you'd only ever need to call make_connection once... -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/206. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.