New submission from ivank <[email protected]>:
{{{
C:\temp>python C:\Python26\Scripts\trial.py -r iocp -e -u twisted.test.test_udp.UDPTestCase.testSendPackets
Test Pass 1
twisted.test.test_udp
UDPTestCase
testSendPackets ... [OK]
-------------------------------------------------------------------------------
Ran 1 tests in 0.006s
PASSED (successes=1)
Test Pass 2
twisted.test.test_udp
UDPTestCase
testSendPackets ... [OK]
-------------------------------------------------------------------------------
Ran 1 tests in 0.004s
PASSED (successes=1)
Test Pass 3
twisted.test.test_udp
UDPTestCase
testSendPackets ... [OK]
-------------------------------------------------------------------------------
Ran 1 tests in 0.006s
...successes elided...
PASSED (successes=1)
Test Pass 103
twisted.test.test_udp
UDPTestCase
testSendPackets ... Traceback (most recent call last):
File "C:\Python26\lib\site-packages\twisted\test\test_udp.py", line 374, in cbSendsFinished
("c", clientAddr)])
twisted.trial.unittest.FailTest: not equal:
a = [('a', ('127.0.0.1', 61336)),
('', ('127.0.0.1', 61336)),
('c', ('127.0.0.1', 61336))]
b = [('a', ('127.0.0.1', 61336)),
('b', ('127.0.0.1', 61336)),
('c', ('127.0.0.1', 61336))]
[FAIL]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<twisted.test.test_udp.Server on 61335>
<twisted.test.test_udp.GoodClient on 61336>
[ERROR]
===============================================================================
[FAIL]: twisted.test.test_udp.UDPTestCase.testSendPackets
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\twisted\test\test_udp.py", line 374, in cbSendsFinished
("c", clientAddr)])
twisted.trial.unittest.FailTest: not equal:
a = [('a', ('127.0.0.1', 61336)),
('', ('127.0.0.1', 61336)),
('c', ('127.0.0.1', 61336))]
b = [('a', ('127.0.0.1', 61336)),
('b', ('127.0.0.1', 61336)),
('c', ('127.0.0.1', 61336))]
===============================================================================
[ERROR]: twisted.test.test_udp.UDPTestCase.testSendPackets
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<twisted.test.test_udp.Server on 61335>
<twisted.test.test_udp.GoodClient on 61336>
-------------------------------------------------------------------------------
Ran 1 tests in 0.019s
FAILED (failures=1, errors=1)
}}}
The incorrectly-empty string might be different each time (sometimes it's not 'b')
I tested with Server 2008 SP1, Python 2.6.2 32 bit, Twisted r27226 (built with VS2008).
----------
Type : defect
Component: core
Keywords : iocp iocpreactor
Priority : normal
Nosy :
----------
http://twistedmatrix.com/trac/ticket/3969
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.