emersion / go-imap

📥 An IMAP library for clients and servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

client: Dovecot startup failure hangs test

emersion opened this issue · 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.