Opened 3 years ago

#12052 new defect

test_readline_limit in facilitator-test sometimes fails

Reported by: infinity0 Owned by: dcf
Priority: Medium Milestone:
Component: Archived/Flashproxy Version:
Severity: Keywords:
Cc: weasel Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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)

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.