[ARVADOS] updated: b9caaf617e2518648a8ace94184cbf1c5970e22c

git at public.curoverse.com git at public.curoverse.com
Mon Dec 1 11:39:50 EST 2014


Summary of changes:
 services/fuse/tests/test_mount.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

       via  b9caaf617e2518648a8ace94184cbf1c5970e22c (commit)
      from  c70fc67b1c98dc044abf55bf7dc1d10a486e8775 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit b9caaf617e2518648a8ace94184cbf1c5970e22c
Author: Brett Smith <brett at curoverse.com>
Date:   Mon Dec 1 11:39:44 2014 -0500

    4501: Fixup: Restore test that new FUSE MagicDirectory is empty.

diff --git a/services/fuse/tests/test_mount.py b/services/fuse/tests/test_mount.py
index b36ed0b..f0f375c 100644
--- a/services/fuse/tests/test_mount.py
+++ b/services/fuse/tests/test_mount.py
@@ -148,7 +148,12 @@ class FuseMagicTest(MountTestBase):
         operations.initlock.wait()
 
         # now check some stuff
-        self.assertIn('README', os.listdir(self.mounttmp))
+        mount_ls = os.listdir(self.mounttmp)
+        self.assertIn('README', mount_ls)
+        self.assertFalse(any(arvados.util.keep_locator_pattern.match(fn) or
+                             arvados.util.uuid_pattern.match(fn)
+                             for fn in mount_ls),
+                         "new FUSE MagicDirectory lists Collection")
         self.assertDirContents(self.testcollection, ['thing1.txt'])
         self.assertDirContents(os.path.join('by_id', self.testcollection),
                                ['thing1.txt'])

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list