nodemailer / smtp-server

Create custom SMTP servers on the fly
Other
857 stars 145 forks source link

SMTPServer randomly fails to connect on random ports #100

Closed niftylettuce closed 5 years ago

niftylettuce commented 6 years ago

Using get-port to get a random available port for running listen for an SMTP Server instance, the following error occurs Error: connect ECONNRESET 127.0.0.1:55877.

It happens randomly, I can't figure out why either.

niftylettuce commented 6 years ago

this issue doesn't seem to happen when tests are run in serial (e.g. ava --serial)