mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 00:24:09 +02:00
Fix test failure on windows because of slowness
This commit is contained in:
parent
17dcc39aff
commit
2affa5bf4e
1 changed files with 2 additions and 2 deletions
|
|
@ -343,12 +343,12 @@ def test_backup(self): # {{{
|
|||
ae(sf('authors', {1:'author1 & author2', 2:'author1 & author2', 3:'author1 & author2'}), {1,2,3})
|
||||
count = 6
|
||||
while cache.dirty_queue_length() and count > 0:
|
||||
mb.join(interval)
|
||||
mb.join(2)
|
||||
count -= 1
|
||||
af(cache.dirty_queue_length())
|
||||
finally:
|
||||
mb.stop()
|
||||
mb.join(interval)
|
||||
mb.join(2)
|
||||
af(mb.is_alive())
|
||||
from calibre.ebooks.metadata.opf2 import OPF
|
||||
for book_id in (1, 2, 3):
|
||||
|
|
|
|||
Loading…
Reference in a new issue