mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Increase timeout on test
This commit is contained in:
parent
89bdcfe893
commit
17f513d4fc
@ -106,7 +106,7 @@ class TestLock(BaseTest):
|
||||
t.daemon = True
|
||||
t.start()
|
||||
self.assertRaises(LockingError, lock.release)
|
||||
t.join(4)
|
||||
t.join(15)
|
||||
self.assertFalse(t.is_alive())
|
||||
self.assertFalse(lock.is_shared)
|
||||
self.assertFalse(lock.is_exclusive)
|
||||
@ -178,4 +178,3 @@ class TestLock(BaseTest):
|
||||
self.assertEqual(len(done), len(threads), 'SHLock locking failed')
|
||||
self.assertFalse(lock.is_shared)
|
||||
self.assertFalse(lock.is_exclusive)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user