[ARVADOS] updated: fdb655af9d3ace45edc08357b3328a1f8231e449
git at public.curoverse.com
git at public.curoverse.com
Tue Jun 30 19:06:26 EDT 2015
Summary of changes:
.../tests/performance/test_collection_performance.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
via fdb655af9d3ace45edc08357b3328a1f8231e449 (commit)
from 5f18d6be31b253030d884e1e3dad1cf255dd5bab (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 fdb655af9d3ace45edc08357b3328a1f8231e449
Author: radhika <radhika at curoverse.com>
Date: Tue Jun 30 19:05:57 2015 -0400
6219: add test to list contents of a project with many collections.
diff --git a/services/fuse/tests/performance/test_collection_performance.py b/services/fuse/tests/performance/test_collection_performance.py
index 46a49ec..c1e24f0 100644
--- a/services/fuse/tests/performance/test_collection_performance.py
+++ b/services/fuse/tests/performance/test_collection_performance.py
@@ -406,3 +406,19 @@ class UsingMagicDir_CreateCollectionWithManyFilesAndMoveEachFileIntoAnother(Moun
updated_collection = self.api.collections().get(uuid=collection1.manifest_locator()).execute()
for name in file_names:
self.assertTrue(name in updated_collection['manifest_text'])
+
+class FuseListLargeProjectContents(MountTestBase):
+ @profiled
+ def listLargeProjectContents(self):
+ project_contents = llfuse.listdir(self.mounttmp)
+ self.assertEqual(201, len(project_contents))
+ self.assertIn('Collection_1', project_contents)
+
+ for collection_name in project_contents:
+ collection_contents = llfuse.listdir(os.path.join(self.mounttmp, collection_name))
+ self.assertIn('baz', collection_contents)
+
+ def test_listLargeProjectContents(self):
+ self.make_mount(fuse.ProjectDirectory,
+ project_object=run_test_server.fixture('groups')['project_with_201_collections'])
+ self.listLargeProjectContents()
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list