Revision 740c5aab
ID | 740c5aabc85dd3a40d739f485311154ca241a71e |
Fix the zombie process unittest
The failure is because in high load, the parent gets to run before the
child has the chance to os._exit(), and therefore it is still running
when the parent does the check.
The fix removes the chance of this happening by waiting to receive a SIGCHLD
(but not calling wait()) before trying to test the pid.
Reviewed-by: imsnah
Files
- added
- modified
- copied
- renamed
- deleted