Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b585d8b0 authored by Mike Yu's avatar Mike Yu
Browse files

Remove the waiting time when restart test DoH servers

We used to wait for 100 milliseconds before restart test DoH
servers in order to avoid binding a socket address that hasn't
be released. With this change, test DoH servers can try to bind
the socket address again, so the 100-milliseconds waiting time
can be removed.

Bug: 215818810
Test: wrote and ran a test that calls doh.stopServer() and then
      doh.startServer() 5000 times
Change-Id: I89acfd0997beeca0eb53139919a56931b2e79986
parent adc98bd9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment