Merge "Merge "Add assertion message if testDns ipv6 lookup reutrns ipv4." into lollipop-mr1-cts-dev am: b996de8" into marshmallow-cts-dev am: 48216c2 am: 275a0e6 am: 4be27c8 am: 0399523 am: fd3f832
am: c403c81
* commit 'c403c812184518d391cfc8a986fd304d640e2fb3':
Add assertion message if testDns ipv6 lookup reutrns ipv4.
Change-Id: Idaf9c0536bd63cbaf5e109508e50c6a5d1808ac0
This commit is contained in:
@@ -97,7 +97,8 @@ public class DnsTest extends AndroidTestCase {
|
||||
if (DBG) Log.e(TAG, "ipv6.google.com gave " + addr.toString());
|
||||
}
|
||||
|
||||
assertTrue(foundV4 == false);
|
||||
assertTrue("[RERUN] ipv6.google.com returned an ipv4 address, check your network's DNS connection.",
|
||||
foundV4 == false);
|
||||
assertTrue(foundV6 == true);
|
||||
|
||||
assertTrue(testNativeDns());
|
||||
|
||||
Reference in New Issue
Block a user