Commit d56b954c authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

quieting some cachetable tests

git-svn-id: file:///svn/toku/tokudb@34755 c7de825b-a66e-492c-adef-691d508d4ae1
parent 71223dbc
......@@ -15,7 +15,7 @@ flush (CACHEFILE f __attribute__((__unused__)),
BOOL c __attribute__((__unused__))
) {
/* Do nothing */
printf("FLUSH: %d write_me %d\n", (int)k.b, w);
if (verbose) { printf("FLUSH: %d write_me %d\n", (int)k.b, w); }
if (w) {
usleep (5*1024*1024);
}
......
......@@ -21,7 +21,7 @@ flush (CACHEFILE f __attribute__((__unused__)),
) {
/* Do nothing */
if (check_flush && !keep) {
printf("FLUSH: %d write_me %d\n", (int)k.b, w);
if (verbose) { printf("FLUSH: %d write_me %d\n", (int)k.b, w); }
assert(flush_may_occur);
assert(!w);
assert(expected_flushed_key == (int)k.b);
......
......@@ -31,7 +31,7 @@ flush (CACHEFILE f __attribute__((__unused__)),
) {
/* Do nothing */
if (check_flush && !keep) {
printf("FLUSH: %d write_me %d\n", (int)k.b, w);
if (verbose) { printf("FLUSH: %d write_me %d\n", (int)k.b, w); }
assert(flush_may_occur);
assert(!w);
assert(expected_flushed_key == (int)k.b);
......
......@@ -15,7 +15,7 @@ flush (CACHEFILE f __attribute__((__unused__)),
BOOL c __attribute__((__unused__))
) {
/* Do nothing */
printf("FLUSH: %d\n", (int)k.b);
if (verbose) { printf("FLUSH: %d\n", (int)k.b); }
//usleep (5*1024*1024);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment