test: Increase sleep time when testing commit_within

The test might fail if the solr used in the test environment is
very slow.
This commit is contained in:
Carsten Senger 2013-07-05 10:05:37 +02:00
parent 1fd1ef817e
commit d1694f3d9b
1 changed files with 1 additions and 1 deletions

View File

@ -726,7 +726,7 @@ class SolrServerTests(SolrTestCase):
self.folder.processForm(values={'title': 'Foo'})
commit()
# no indexing happens, make sure we give the server some time
sleep(2)
sleep(4)
result = connection.search(q='+Title:Foo').read()
self.assertEqual(numFound(result), 0)