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

Skip to content
Commit 297830b7 authored by Ken Chen's avatar Ken Chen
Browse files

[Test] Correct the BlockDnsQuery_FlaggedOff test

Test clears the wrong fake private DNS front-end. It was passing
previously because the test didn't flush DNS cache. On the second
iteration of the loop, the DNS resolver does not send out the query. It
returns results from the cache provided by the first iteration.

The correct behavior should be clearing the right private DNS front-end
and clearing DNS resolver's cache after each iteration of for-loop.

Bug: N/A
Test: atest resolv_integration_test
Change-Id: I0f87c5cb36bf1887339a3c48bee37358dfac5ae2
parent b7f8f545
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