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

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

Fix PrivateDnsDohTest.ExcessDnsRequests not to interfere other tests

Before this change, DnsResolver reconnects the server after
this test ends. This causes other tests being flaky, especially
for those test that check the number of connections. A known
example is running PrivateDnsDohTest.SessionResumption after
PrivateDnsDohTest.ExcessDnsRequests.

Therefore, this change adds some code in the test to prevent it.

Bug: 222023286
Test: run resolv_integration_test64
      --gtest_filter="*SessionResumption*:*ExcessDnsRequests*"
Change-Id: Id11eb8d984128bc2b336d2939ae129eebeb17807
parent f696ba34
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