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:
parent
1fd1ef817e
commit
d1694f3d9b
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue