From 7468344b58aa67b24f4f957f435a79381de0063d Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sun, 06 Mar 2011 13:23:48 +0000 Subject: temporary workaround for inability to wait for index completion --- diff --git a/tests/test_migration_v2_v3.py b/tests/test_migration_v2_v3.py index a6bf91e..0eda32c 100644 --- a/tests/test_migration_v2_v3.py +++ b/tests/test_migration_v2_v3.py @@ -127,6 +127,10 @@ class MigrationV2V3TestCase(unittest.TestCase): for key, value in metadata.items(): file(os.path.join(directory, key), 'w').write(str(value)) + def test_00_sleep(self): + """Temporary workaround for inability to wait for index completion.""" + time.sleep(5) + def test_find_all(self): """Run find() to list all migrated entries.""" entries, count = self._datastore.find({}, {'metadata': ['tree_id']}, -- cgit v0.9.1