[tahoe-lafs-trac-stream] [tahoe-lafs] #20: unit tests take too long
tahoe-lafs
trac at tahoe-lafs.org
Tue Oct 23 22:22:16 UTC 2012
#20: unit tests take too long
------------------------+------------------------------
Reporter: zooko | Owner: somebody
Type: defect | Status: reopened
Priority: major | Milestone: eventually
Component: code | Version:
Resolution: | Keywords: test performance
Launchpad Bug: |
------------------------+------------------------------
Comment (by davidsarah):
Replying to [comment:16 davidsarah]:
> To test the first of these, I created a tmpfs using {{{sudo mount -t
tmpfs -o size=330m tmpfs _trial_temp}}}, and hacked Twisted Trial so that
it would just use this existing directory rather than trying to delete and
recreate it.
A better way to do that is using {{{--temp-directory}}}: trial will still
attempt to delete the directory you specify, so it can't directly be the
tmpfs mount, but that's OK as long as it is underneath the tmpfs mount.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/20#comment:21>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list