Ludovic Courtès wrote:
> Hello,
> 
> I’m seeing this test failure with 1.6.1:
> 
> --8<---------------cut here---------------start------------->8---
> [ERROR]: 
> allmydata.test.test_immutable.Test.test_download_abort_if_too_many_corrupted_shares
> 
> Traceback (most recent call last):
>   File 
> "/nix/store/bjyli4vn66xdr1iy4nd0macgf2qszlrk-python-twisted-8.2.0/lib/python2.6/site-packages/Twisted-8.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py",
>  line 106, in maybeDeferred
>     result = f(*args, **kw)
>   File 
> "/tmp/nix-build-r96hdx3aqflfpz3n42ahnxr3h47pgb99-tahoe-lafs-1.6.1.drv-0/allmydata-tahoe-1.6.1/src/allmydata/util/pollmixin.py",
>  line 34, in _poll
>     raise TimeoutError("PollMixin never saw %s return True" % check_f)
> allmydata.util.pollmixin.TimeoutError: PollMixin never saw <bound method 
> Test._check_connections of <allmydata.test.test_immutable.Test 
> testMethod=test_download_abort_if_too_many_corrupted_shares>> return True
> ===============================================================================
> [ERROR]: 
> allmydata.test.test_immutable.Test.test_download_abort_if_too_many_corrupted_shares

Please increase the timeout in test_immutable.py: at line 9 (after the
'class Test' declaration and before the test_test_code method), insert

    timeout = 240

and retry the test. If it works, try using --until-failure, i.e.

    python trial.py --until-failure allmydata.test.test_immutable

(The tests in test_immutable are mostly redundant with those in
test_hung_server, so if the latter is not failing, it's likely to be
that the timeout is too short, or there is some other problem just
with the test code.)

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
tahoe-dev mailing list
[email protected]
http://allmydata.org/cgi-bin/mailman/listinfo/tahoe-dev

Reply via email to