[tor-bugs] #12052 [Flashproxy]: test_readline_limit in facilitator-test sometimes fails

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 19 15:53:38 UTC 2014


#12052: test_readline_limit in facilitator-test sometimes fails
------------------------+---------------------
 Reporter:  infinity0   |          Owner:  dcf
     Type:  defect      |         Status:  new
 Priority:  normal      |      Milestone:
Component:  Flashproxy  |        Version:
 Keywords:              |  Actual Points:
Parent ID:              |         Points:
------------------------+---------------------
 This happens more on some machines than others. On my laptop (Debian
 jessie/sid) it only happens about 1 in 10-15 times but weasel reproduced
 it 2/3 times.

 There is already TODO in the source code, but for now I will disable this
 test temporarily in the Debian packaging.

 {{{
 ======================================================================
 FAIL: test_readline_limit (__main__.FacilitatorProcTest)
 Test that reads won't buffer indefinitely.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "./facilitator-test.py", line 244, in test_readline_limit
     self.fail("should have raised a socket error")
 AssertionError: should have raised a socket error

 ----------------------------------------------------------------------
 Ran 18 tests in 2.227s

 FAILED (failures=1)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12052>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list