[Question: linux pipes ( ... | gzip | cat ... ) in tests failing] Re: [PATCH] Adding pg_dump flag for parallel export to pipes

Started by Hannu Krosingabout 1 year ago1 messageshackers
Jump to latest
#1Hannu Krosing
hannu@tm.ee

Just to bring this out separately :

Does anybody have any ideas why pipe commands prematurely close inside tests ?

Re: 003-pg_dump_basic_tests has a few basic validation tests for
correctmflag combinations. We need to write more automated tests in
002_pg_dump.pl but have been running into some issues with environment
setup due to which certain pipe commands result in the shell process
becoming defunct. These same commands are working fine in manual
testing. We are still looking into this.

Basically we have pg_dump opening multiple command pipes in parallel
dump mode and they become defunct when tests are run as tests, while
everything works fine when same thing is run manually

Cheers,
Hannu