[Bug 18530] Should implement IPv4 socket for file transfer

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 27 20:53:49 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=18530

--- Comment #6 from Trever Fischer <tdfischer at fedoraproject.org> 2012-02-27 11:53:49 PST ---
I've updated my branch to address the issues you brought up. The branch also
includes some retooling of file_transfer_helper.py to support running the tests
on any protocol.

Only issue is I have one failing test, and I'm not sure how to resolve it:

Traceback (most recent call last):
  File
"/home/tdfischer/Projects/collabora/telepathy-salut/tests/twisted/saluttest.py",
line 135, in exec_test_deferred
    fun(queue, bus, conn)
  File
"/home/tdfischer/Projects/collabora/telepathy-salut/tests/twisted/avahi/file-transfer/file_transfer_helper.py",
line 151, in test
    if fct():
  File "./avahi/file-transfer/send-file-ipv4.py", line 16, in
client_request_file
    e = self.q.expect('dbus-signal', signal='InitialOffsetDefined')
  File
"/home/tdfischer/Projects/collabora/telepathy-salut/tests/twisted/servicetest.py",
line 170, in expect
    event = self.wait([pattern.subqueue])
  File
"/home/tdfischer/Projects/collabora/telepathy-salut/tests/twisted/servicetest.py",
line 304, in wait
    raise TimeoutError
TimeoutError
FAIL: avahi/file-transfer/send-file-ipv4.py

Every other test works just fine, including receive-file-ipv4.py. Also, editing
file_transfer_helper.py to use IPV4 by default (instead of UNIX) on all the
tests produces exactly the same result: all but one test passes.

The ipv4 test is copied verbatim from the disabled ipv6 send test, so I can't
be  sure if this is a problem with the copied code or what.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.



More information about the telepathy-bugs mailing list