Please sign in to comment.
Fix leaking FD when Process times out
Summary: rFBS5b769b432244e8f17704177ea2706d1884160629 enhanced the unit tests for process to catch leaking File Descriptors. It was still leaking for test_process_timeout This fixes that. When the process times out, kill the subprocess and close the File Descriptors. Reviewed By: dabek Differential Revision: D6920353 fbshipit-source-id: 597ed5a7cb3cb5cd7c6fefdc1fd84c8faa3ad396
- Loading branch information...
Showing with 18 additions and 13 deletions.