Ashwani Raina has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23611
Change subject: [test] Skip test if hostname has no DNS record ...................................................................... [test] Skip test if hostname has no DNS record With IPv6 support, some tests, that make use of DNS resolution, can end up with error if the ip_config_mode is set to a family for which 'hostname' has no corresponding DNS record. For example, if a hostname resolves to just an IPv4 address on a system, running the test with ip_config_mode as 'IPv6' fails because getaddrinfo doesn't find any DNS record for the provided hostname with desired family set to 'IPv6'. This patch avoids such scenarios by, proactively, checking whether DNS record exists or not and skips the test if it doesn't. Change-Id: Id377c73a752e18324dbd83aad7e613b3ba99ee6b --- M src/kudu/master/mini_master-test.cc 1 file changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/11/23611/1 -- To view, visit http://gerrit.cloudera.org:8080/23611 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Id377c73a752e18324dbd83aad7e613b3ba99ee6b Gerrit-Change-Number: 23611 Gerrit-PatchSet: 1 Gerrit-Owner: Ashwani Raina <[email protected]>
