mirror of https://github.com/lukechilds/node.git
Browse Source
The tests in pseudo-tty takes the form of child node writing some data and exiting, while parent python consume them through pseudo tty implementations, and validate the result. While there is no synchronization between child and parent, this works for most platforms, except AIX, where the child exits even before the parent could setup the read loop, under race conditions Fixing the race condition is ideally done through sending ACK messages to and forth, but involves massive changes and have side effect. The workaround is to address them in AIX alone, by adding a reasonable delay. PR-URL: https://github.com/nodejs/node/pull/11715 Fixes: https://github.com/nodejs/node/issues/7973 Fixes: https://github.com/nodejs/node/issues/9765 Fixes: https://github.com/nodejs/node/issues/11541 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>v6
Gireesh Punathil
8 years ago
committed by
Gibson Fahnestock
4 changed files with 19 additions and 10 deletions
@ -1,8 +1,5 @@ |
|||
prefix pseudo-tty |
|||
|
|||
[$system==aix] |
|||
# test issue only, covered under https://github.com/nodejs/node/issues/7973 |
|||
no_dropped_stdio : SKIP |
|||
no_interleaved_stdio : SKIP |
|||
# being investigated under https://github.com/nodejs/node/issues/9728 |
|||
test-tty-wrap : FAIL, PASS |
|||
|
Loading…
Reference in new issue