[Bug 72319] test-file-transfer-channel fails with glib 2.39
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Dec 4 09:30:46 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=72319
Xavier Claessens <xclaesse at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xclaesse at gmail.com
--- Comment #2 from Xavier Claessens <xclaesse at gmail.com> ---
There is an ambiguity of when _accept_file_async() and _provide_file_async()
are supposed to complete. The unit tests assert that in completes when the
state moved to TP_FILE_TRANSFER_STATE_PENDING which is before the actual
streaming of the file happens, and that's what actually happens on the success
code path.
However on the failure code path, TpFileTransferChannel assume the operation is
still ongoing until the splice operation ends so that would mean that
_accept/provide_file_async() covers the whole file transfer process and returns
when the state moved to TP_FILE_TRANSFER_STATE_COMPLETED.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list