From a59081946b847a4d760d1c6027636ac54334a1a8 Mon Sep 17 00:00:00 2001 From: aherlihy Date: Mon, 7 Mar 2016 08:29:54 +0100 Subject: [PATCH] Add extra time to test_solr.test_update --- tests/test_solr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_solr.py b/tests/test_solr.py index b0e7bcca..24052a23 100644 --- a/tests/test_solr.py +++ b/tests/test_solr.py @@ -164,7 +164,7 @@ def check_update(update_spec): # Flatten the MongoDB document to match Solr updated = docman._clean_doc(updated, 'dummy.namespace', 0) # Allow some time for update to propagate - time.sleep(1) + time.sleep(3) replicated = list(self._search("a:0"))[0] # Remove add'l fields until these are stored in a separate Solr core @@ -176,8 +176,6 @@ def check_update(update_spec): # Remove field added by Solr replicated.pop("_version_") - print("REPLICATED", replicated) - print("UPDATED", updated) self.assertEqual(replicated, updated) # Update by adding a field.