Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Silbe <silbe@activitycentral.com>2011-03-06 13:23:48 (GMT)
committer Sascha Silbe <silbe@activitycentral.com>2011-03-06 13:23:48 (GMT)
commit7468344b58aa67b24f4f957f435a79381de0063d (patch)
treef749bcf82d483d121e802aa460f3f8fa2077b165
parent0d2d02c29ccacedec8b778532bce907ece59482e (diff)
temporary workaround for inability to wait for index completiont/versions
-rw-r--r--tests/test_migration_v2_v3.py4
1 files changed, 4 insertions, 0 deletions
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']},