mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-01 19:00:09 +03:00
trying to find test params for Travis
This commit is contained in:
parent
acd82adad3
commit
7ece08ac7a
|
@ -426,7 +426,7 @@ t.join()
|
||||||
process = multiprocessing.Process(target=conn, args=(queue,))
|
process = multiprocessing.Process(target=conn, args=(queue,))
|
||||||
process.start()
|
process.start()
|
||||||
queue.get()
|
queue.get()
|
||||||
time.sleep(0.1)
|
time.sleep(0.9)
|
||||||
os.kill(process.pid, signal.SIGINT)
|
os.kill(process.pid, signal.SIGINT)
|
||||||
process.join()
|
process.join()
|
||||||
self.assertEqual(queue.get(), "KeyboardInterrupt")
|
self.assertEqual(queue.get(), "KeyboardInterrupt")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user