emersion/go-imap

client: Dovecot startup failure hangs test

emersion opened this issue · 1 comments

If a bad config file is provided to Dovecot, the net.Pipe will not be closed and the test hangs.

For some reason cmd.Wait() in a goroutine hangs after doveadm exits with an error... Seems like cmd.Process.Wait() works as expected though.