esl / escalus

An XMPP client library in Erlang for conveniently testing XMPP servers
Apache License 2.0
129 stars 76 forks source link

extend the timeout for the tcp connection #214

Closed NelsonVides closed 5 years ago

NelsonVides commented 5 years ago

Under a heavily loaded system and with the weird tcp restrictions of the CI virtualization, 200ms is too tight of a timeout for receiving the tcp_closed message, hence some failures are being seen in MIM:mam_SUITE when multiple tests are massively ran in parallel and all keep the database, to which we also connect by tcp, loaded. Hence, we just need to expand it a bit. 1000ms has shown no failures in many thousands of rounds of tests.