commit | 2eb7c911530dfb56bca1ac8099a09f2f88a34916 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 21 10:53:07 2016 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 21 13:39:49 2016 +0900 |
tree | 821d4cffc22c4b5a028b39fdda918f85c772bbc7 | |
parent | 28a01b9af7bfc7b89d933ee04bc5d82a7ae6e050 [diff] |
Clear local test results across DNS lookups. If InetAddress.getAllByName("ipv6.google.com") throws UnknownHostException, the test silently ignores it. This causes a misleading failure, because the test then reuses the addrs variable that is left over from the previous DNS query for "www.google.com", and fails because it has an IPv4 address. Fixes: 12210306 Bug: 29231261 Change-Id: I1dde945765d40a84eba139055306b07ebc97d0ec