Increase wait time for restore test

This commit is contained in:
Kovid Goyal 2023-08-25 07:52:00 +05:30
parent fe4292c3cc
commit d7c88aaf01
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -411,7 +411,7 @@ class WritingTest(BaseTest):
from calibre.db.restore import Restore from calibre.db.restore import Restore
restorer = Restore(cl) restorer = Restore(cl)
restorer.start() restorer.start()
restorer.join(16) restorer.join(60)
af(restorer.is_alive()) af(restorer.is_alive())
cache = self.init_cache(cl) cache = self.init_cache(cl)
ae(before, {f:cache.all_field_for(f, book_ids) for f in tested_fields}) ae(before, {f:cache.all_field_for(f, book_ids) for f in tested_fields})