Please sign in to comment.
test: fix test-child-process-fork-regr-gh-2847
It's not guaranteed that the first socket that tries to connect is the first that succeeds so the rest of assumptions made in the test are not correct. Fix it by making sure the second socket does not try to connect until the first has succeeded. The IPC channel can already be closed when sending the second socket. It should be allowed. Also, don't start sending messages until the worker is online. Fixes: #8950 PR-URL: #8954 Reviewed-By: Michael Dawson <email@example.com> Reviewed-By: Brian White <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Reviewed-By: Colin Ihrig <firstname.lastname@example.org>
- Loading branch information...
Showing with 14 additions and 9 deletions.