awslabs / aws-elasticache-cluster-client-memcached-for-java

Amazon ElastiCache Cluster Client for Java - enhanced library to connect to ElastiCache clusters.
http://docs.amazonwebservices.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.html
Apache License 2.0
87 stars 54 forks source link

fix unit test failure in testIPv6Host() by adding valid hostname #19

Closed chinguyen21 closed 2 years ago

chinguyen21 commented 2 years ago

Issue #, if available: testIPv6Host() failed depends on machine (passed in MacOS, but failed in AL2)

Description of changes: The ipv6 address can return a hostname localhost6, it needs to be added to the list of valid hostnames that can be returned

Test: ant test passed in all unit tests

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.