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

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

resolv: improve the tests TlsBypass and BrokenEdns

Starting up a DnsTlsFrontend server in each loop iteration is costly.
Move the start up to the beginning of the tests for speed ups.

ResolverTest.BrokenEdns: 4406 ms -> 1412 ms
ResolverTest.TlsBypass: 4102 ms -> 1142 ms

Bug: 134372242
Test: resolv_integration_test passed

Change-Id: I51bafaeb4b73f9424778c183629bd17f9ca01850
parent 5477130f
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