Luke Huang 5db02f0d4f Reduce DnsResolverTest flaky rate
Adjust some timeout value and correct the conditional checking
for private DNS waiting mechanism.

Also move the fail() statement from callback thread to test thread.
It is used to avoid the test process crashing.

Bug: 148471807
Test: atest DnsResolverTest
Change-Id: I244cefeae97fe99838d1c72d867c1d7a1a7d5e87
2020-02-21 08:14:02 +00:00
Description
android_packages_modules_Connectivity
189 MiB
Languages
Java 81.4%
Kotlin 7.7%
AIDL 4.5%
C++ 4.5%
C 1.7%
Other 0.1%