This test fails intermittently. I have submitted a branch (ampoule-0.1.1) that disables it. I have run it locally by itself, and sometimes it passes and sometimes it fails. Specifically, I did:
for i in 1 2 3 4 5 6 7 8 9 10; do bin/test -v -t test_bug_inline_subscriber; done
It has failed seven times and passed thrice.
Failure in test test_inline_subscriber (lp.bugs.windmill.tests.test_bug_inline_subscriber.TestInlineSubscribing)
Traceback (most recent call last):
_StringException: Text attachment: traceback
------------
Traceback (most recent call last):
File "/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/runtest.py", line 128, in _run_user
return fn(*args)
File "/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/testcase.py", line 368, in _run_test_method
testMethod()
File "/home/abentley/launchpad/ampoule-0.1.1/lib/lp/bugs/windmill/tests/test_bug_inline_subscriber.py", line 225, in test_inline_subscriber
id='dupe-subscriber-12', timeout=FOR_ELEMENT)
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/authoring/__init__.py", line 161, in __call__
return self.exec_method(self.action_name, **kwargs)
File "/home/abentley/launchpad/stable/eggs/windmill-1.3beta3_lp_r1440-py2.5.egg/windmill/authoring/__init__.py", line 214, in _exec_test
raise WindmillTestClientException(result['result'])
WindmillTestClientException: {'suite_name': 'Inline bug page subscribers test', 'result': False, 'starttime': '2010-1-4T2:0:48.746Z', 'params': {'id': 'dupe-subscriber-12', 'timeout': '20000'}, 'debug': 'Looking up id dupe-subscriber-12, failed.', 'output': None, 'endtime': '2010-1-4T2:0:48.747Z', 'method': 'asserts.assertNode'}
------------
ERROR DISABLED: Test left new live threads: [<Thread(Thread-1597, started daemon)>]
The following test left new threads behind:
test_inline_subscriber (lp.bugs.windmill.tests.test_bug_inline_subscriber.TestInlineSubscribing)
New thread(s): [<Thread(Thread-1597, started daemon)>]
.........
Ran 13 tests with 1 failures and 0 errors in 14 minutes 4.161 seconds.
Fixed in stable r10683 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 10683>