Avoid and detect SIGPIPE race in TAP tests.
Noah Misch <noah@leadboat.com>
Avoid and detect SIGPIPE race in TAP tests. Don't write to stdin of a psql process that could have already exited with an authentication failure. Buildfarm members crake and mandrill have failed once by doing so. Ignore SIGPIPE in all TAP tests. Back-patch to v10, where these tests were introduced. Reviewed by Michael Paquier. Discussion: https://postgr.es/m/20171209210203.GC3362632@rfd.leadboat.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/authentication/t/001_password.pl | modified | +1 −2 |
| src/test/authentication/t/002_saslprep.pl | modified | +1 −2 |
| src/test/perl/TestLib.pm | modified | +4 −0 |
Discussion
- SIGPIPE in TAP tests 4 messages · 2017-12-09 → 2017-12-11