The comments for this particular test suggest that the parent should attempt waiting on itself. However, the code makes the parent wait on its child. Fixed.
The comments for this particular test suggest that the parent should attempt waiting on itself. However, the code makes the parent wait on its child. Fixed.