leeoo / spymemcached

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

assertion failure during ConsistentHashingTest #198

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This seems to be a spurious failure, but it is unexpected so it should have 
some looking into.  

During a test with TYPE membase when building 2.7.1, I observed the following 
failure:

Testsuite: net.spy.memcached.ConsistentHashingTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.74 sec
------------- Standard Output ---------------
EMMA: collecting runtime coverage data ...
------------- ---------------- ---------------

Testcase: testSmallSet took 0.236 sec
        FAILED
null
junit.framework.AssertionFailedError
        at net.spy.memcached.KetamaNodeLocator.setKetamaNodes(KetamaNodeLocator.java:166)
        at net.spy.memcached.KetamaNodeLocator.<init>(KetamaNodeLocator.java:58)
        at net.spy.memcached.KetamaNodeLocator.<init>(KetamaNodeLocator.java:42)
        at net.spy.memcached.ConsistentHashingTest.runThisManyNodes(ConsistentHashingTest.java:41)
        at net.spy.memcached.ConsistentHashingTest.testSmallSet(ConsistentHashingTest.java:17)

Testcase: testLargeSet took 0.398 sec

Original issue reported on code.google.com by ingen...@gmail.com on 23 Aug 2011 at 5:24

GoogleCodeExporter commented 9 years ago
I have run the tests many times since this issue has been filed and not been 
able to reproduce this issue. Please re-open if it comes up again in the latest 
source.

Original comment by mikewie...@gmail.com on 28 Sep 2011 at 11:34