From b8a4f4d5a4ed2e16290a8cdb1e36f42741d40b19 Mon Sep 17 00:00:00 2001 From: "Bradley C. Kuszmaul" Date: Tue, 16 Apr 2013 23:59:19 -0400 Subject: [PATCH] Check the dsize also. Refs #2717. [t:2717] git-svn-id: file:///svn/toku/tokudb@21039 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/loader-stress-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/loader-stress-test.c b/src/tests/loader-stress-test.c index d570d23a83c..b27acc82505 100644 --- a/src/tests/loader-stress-test.c +++ b/src/tests/loader-stress-test.c @@ -331,6 +331,7 @@ static void test_loader(DB **dbs) stats.bt_nkeys, stats.bt_ndata, stats.bt_dsize, stats.bt_fsize); assert(stats.bt_nkeys == (u_int64_t)NUM_ROWS); assert(stats.bt_ndata == (u_int64_t)NUM_ROWS); + assert(stats.bt_dsize == ((u_int64_t)NUM_ROWS) * 2 * sizeof(unsigned int)); r = txn->commit(txn, 0); CKERR(r); }