mike252004 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

AddrUtilTest#testIPv6Host failure on Karmic #103

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I downloaded HEAD of the source code onto my Snow Leopard and
Ubuntu Karmic systems.  Using memcached 1.4.2 I can get a
successful build on Snow Leopard.  On my 32-bit Karmic system I
get the following failure:

    [junit] Testcase: testIPv6Host took 0.015 sec
    [junit]     FAILED
    [junit] null expected:<[]localhost> but was:<[ip6-]localhost>
    [junit] junit.framework.ComparisonFailure: null expected:<[]localhost> but was:<[ip6-
]localhost>
    [junit]     at net.spy.memcached.AddrUtilTest.testIPv6Host(AddrUtilTest.java:87)
    [junit] 
    [junit] TEST net.spy.memcached.AddrUtilTest FAILED

On a brand new Foresight Linux install a lookup on the IPv6
address gets "localhost6.localdomain6".

It seems that the test case should support a couple of different
names for the IPv6 localhost.

Original issue reported on code.google.com by blair-ol...@orcaware.com on 6 Nov 2009 at 7:03

GoogleCodeExporter commented 8 years ago
Thanks for the bug and for the fix.  I didn't even have to think about it.  :)

Original comment by dsalli...@gmail.com on 6 Nov 2009 at 5:54