This commit is contained in:
Kovid Goyal 2017-05-03 18:12:16 +05:30
parent 246bf60c88
commit 2c368cf64b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -70,6 +70,7 @@ class IPCLockTest(unittest.TestCase):
def test_exclusive_file_other_process(self):
child = run_worker('calibre.utils.test_lock', 'other1')
print(1111111, child)
while child.poll() is None:
if os.path.exists('ready'):
break
@ -87,6 +88,7 @@ def other1():
e = ExclusiveFile('test')
with e:
os.mkdir('ready')
print(22222222)
time.sleep(30)