X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ba386628f3d998cf1dc28990505b1bbac6021db7..d8d82841f43394b3781804844d4860bc8205d5fc:/services/fuse/tests/test_mount.py diff --git a/services/fuse/tests/test_mount.py b/services/fuse/tests/test_mount.py index 764a099149..4802d69c31 100644 --- a/services/fuse/tests/test_mount.py +++ b/services/fuse/tests/test_mount.py @@ -25,7 +25,7 @@ class MountTestBase(unittest.TestCase): self.api = arvados.safeapi.ThreadSafeApiCache(arvados.config.settings()) def make_mount(self, root_class, **root_kwargs): - operations = fuse.Operations(os.getuid(), os.getgid()) + operations = fuse.Operations(os.getuid(), os.getgid(), cache_cap=2) operations.inodes.add_entry(root_class( llfuse.ROOT_INODE, operations.inodes, self.api, 0, **root_kwargs)) llfuse.init(operations, self.mounttmp, []) @@ -243,8 +243,7 @@ class FuseSharedTest(MountTestBase): # directory) fuse_user_objs = os.listdir(os.path.join(self.mounttmp, 'FUSE User')) fuse_user_objs.sort() - self.assertEqual(['Empty collection.link', # permission link on collection - 'FUSE Test Project', # project owned by user + self.assertEqual(['FUSE Test Project', # project owned by user 'collection #1 owned by FUSE', # collection owned by user 'collection #2 owned by FUSE', # collection owned by user 'pipeline instance owned by FUSE.pipelineInstance', # pipeline instance owned by user