Intermittent test failure in twisted.mail.test.test_mail.MaildirAppendStringTestCase.testAppend

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from ivank <[email protected]>:

After about 500 runs (new process each time, not `trial -u`), it failed:

{{{
===============================================================================
[FAIL]: twisted.mail.test.test_mail.MaildirAppendStringTestCase.testAppend

Traceback (most recent call last):
  File "/opt/Python-latest/lib/python2.7/site-packages/twisted/mail/test/test_mail.py", line 371, in _cbTestAppend
    self.assertEquals(len(mbox.getMessage(5).read()), 6)
twisted.trial.unittest.FailTest: not equal:
a = 3
b = 6
}}}

I also saw a failure with these numbers:

{{{
===============================================================================
[FAIL]: twisted.mail.test.test_mail.MaildirAppendStringTestCase.testAppend

Traceback (most recent call last):
  File "/opt/Python-latest/lib/python2.7/site-packages/twisted/mail/test/test_mail.py", line 371, in _cbTestAppend
    self.assertEquals(len(mbox.getMessage(5).read()), 6)
twisted.trial.unittest.FailTest: not equal:
a = 9
b = 6
}}}

select reactor, Twisted trunk r26989, Python 2.7r73314 on Ubuntu 9.04 server 64-bit

----------
Type     : defect
Component: mail
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3877
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.