From: Trond Norbye Date: Wed, 7 Oct 2009 18:31:52 +0000 (+0200) Subject: Flush does not reset the bytes stat, so we have no idea of the value X-Git-Tag: 0.34~11^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=aeb3ec459e2f5844aa9b9eb8a60092309b33702a;p=m6w6%2Flibmemcached Flush does not reset the bytes stat, so we have no idea of the value --- diff --git a/tests/function.c b/tests/function.c index 8bff974f..13574427 100644 --- a/tests/function.c +++ b/tests/function.c @@ -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);