emersion / go-imap

📥 An IMAP library for clients and servers
MIT License
2.07k stars 292 forks source link

client: Dovecot startup failure hangs test #614

Open emersion opened 5 months ago

emersion commented 5 months ago

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

emersion commented 5 months ago

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