From: nejucomo Date: Mon, 21 Jan 2008 03:06:19 +0000 (-0700) Subject: tahoe_fuse: system test: Add FIXME comments. X-Git-Tag: allmydata-tahoe-0.8.0~239 X-Git-Url: https://git.rkrishnan.org/pf/content/en/service/rgr-080307.php?a=commitdiff_plain;h=b4b410eccf933f79095cc2cf21eadf6ac6fcce8b;p=tahoe-lafs%2Ftahoe-lafs.git tahoe_fuse: system test: Add FIXME comments. --- diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py index 39a95ff7..97b8d481 100644 --- a/contrib/fuse/runtests.py +++ b/contrib/fuse/runtests.py @@ -6,6 +6,13 @@ Note: The API design of the python-fuse library makes unit testing much of tahoe-fuse.py tricky business. ''' +# FIXME: This framework might be replaceable with twisted.trial, +# especially the "layer" design, which is a bit cumbersome when +# using recursion to manage multiple clients. + +# FIXME: Identify all race conditions (hint: starting clients, versus +# using the grid fs). + import sys, os, shutil, unittest, subprocess import tempfile, re, time, signal, random, httplib @@ -222,6 +229,9 @@ class SystemTest (object): self.mount_fuse_layer() def mount_fuse_layer(self): + # FIXME - tahoe_fuse.py: This probably currently fails because + # tahoe_fuse looks in ~/.tahoe. + print 'Mounting fuse interface.' self.mountpoint = tempfile.mkdtemp(prefix='tahoe_fuse_mp_') try: