@Override
  protected void initClient() throws Exception {
    client = new MemcachedClient(new DefaultConnectionFactory() {
      @Override
      public long getOperationTimeout() {
        return 1000; // 1 sec
      }

      @Override
      public FailureMode getFailureMode() {
        return FailureMode.Retry;
      }
    }, AddrUtil.getAddresses(TestConfig.IPV4_ADDR + ":"
         + TestConfig.PORT_NUMBER));
  }
@author Matt Ingenthron <ingenthr@cep.net>
src/test/java/net/spy/memcached/TimeoutNowriteTest.java