esl / MongooseICE

STUN/TURN server written in Elixir
https://www.erlang-solutions.com/products/mongooseim.html
Other
118 stars 15 forks source link

Avoid :eaddrinuse in Travis tests #34

Closed erszcz closed 7 years ago

erszcz commented 7 years ago

The hypothesis is that the OS doesn't allow opening a listening UDP socket multiple times on the same port. This could happen if the Receiver was stopped asynchronously and wouldn't shutdown and close its socket before a new test started.

Let's see if this change helps.

erszcz commented 7 years ago

Closing and reopening to trigger one more build.

erszcz commented 7 years ago

The Travis build succeeded for the first trigger and then again for the second one, so by the principle of finite induction I infer it must work hereafter!