roc230 / spymemcached

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

Test failure: BinaryClientTest fails on a graceful shutdown #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This seems to be spurious failure as it's actually part of ProtocolBaseCase
so it happens in four different protocols (ascii and binary over ipv4 and
ipv6).  That it happens at all needs to block 2.1

    [junit] Testcase: testGracefulShutdown took 0.295 sec
    [junit]     Caused an ERROR
    [junit] Failed getting bulk values
    [junit] java.lang.RuntimeException: Failed getting bulk values
    [junit]     at
net.spy.memcached.MemcachedClient.getBulk(MemcachedClient.java:918)
    [junit]     at
net.spy.memcached.MemcachedClient.getBulk(MemcachedClient.java:935)
    [junit]     at
net.spy.memcached.ProtocolBaseCase.testGracefulShutdown(ProtocolBaseCase.java:46
2)
    [junit] Caused by: java.util.concurrent.ExecutionException:
java.lang.RuntimeException: Cancelled
    [junit]     at
net.spy.memcached.MemcachedClient$BulkGetFuture.get(MemcachedClient.java:1367)
    [junit]     at
net.spy.memcached.MemcachedClient$BulkGetFuture.get(MemcachedClient.java:1326)
    [junit]     at
net.spy.memcached.MemcachedClient.getBulk(MemcachedClient.java:913)

Original issue reported on code.google.com by dsalli...@gmail.com on 9 May 2008 at 6:31

GoogleCodeExporter commented 9 years ago
Fixed in 0f182a56f902a19aed731e636306e89a54bc652d

Just increased the timeouts.  This isn't code trying to test timeouts, it's just
tripping over them sporadically.

Original comment by dsalli...@gmail.com on 11 May 2008 at 7:35