mirror of
https://github.com/fergalmoran/picard.git
synced 2026-01-03 23:23:59 +00:00
windows pipe improved
This commit is contained in:
@@ -77,7 +77,7 @@ class TestPipe(PicardTestCase):
|
||||
__pool = concurrent.futures.ThreadPoolExecutor()
|
||||
|
||||
for messages in to_send:
|
||||
__pool.submit(pipe_writer, pipe_writer_handler, messages, END_OF_SEQUENCE)
|
||||
plistener = __pool.submit(pipe_listener, pipe_listener_handler, END_OF_SEQUENCE)
|
||||
__pool.submit(pipe_writer, pipe_writer_handler, messages, END_OF_SEQUENCE)
|
||||
self.assertEqual(plistener.result(timeout=4), messages,
|
||||
"Data is sent and read correctly")
|
||||
|
||||
Reference in New Issue
Block a user