Flush does not reset the bytes stat, so we have no idea of the value
authorTrond Norbye <trond.norbye@sun.com>
Wed, 7 Oct 2009 18:31:52 +0000 (20:31 +0200)
committerTrond Norbye <trond.norbye@sun.com>
Wed, 7 Oct 2009 18:31:52 +0000 (20:31 +0200)
tests/function.c

index 8bff974f21b59bbc6527ca63665bc26ba0d76a57..13574427de8b0075a0af511804a16db6841ae768 100644 (file)
@@ -4599,11 +4599,6 @@ static test_return regression_bug_421108(memcached_st *memc)
   assert(rc == MEMCACHED_SUCCESS);
   assert(bytes_written != NULL);
 
-  /*
-   * We did a flush before running the test, so bytes should be 0, but
-   * bytes_read and butes_written cannot be zero ;-)
-   */
-  assert(strcmp(bytes, "0") == 0);
   assert(strcmp(bytes, bytes_read) != 0);
   assert(strcmp(bytes, bytes_written) != 0);