Commit 1adc3dd5 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4875], fix tests due to change in calculating stats->fsize

git-svn-id: file:///svn/toku/tokudb@43508 c7de825b-a66e-492c-adef-691d508d4ae1
parent 13e5e562
......@@ -79,7 +79,9 @@ test_stat64 (unsigned int N) {
assert(0 < s.bt_nkeys && s.bt_nkeys <= N);
assert(s.bt_ndata == s.bt_nkeys);
assert(0 < s.bt_dsize && s.bt_dsize <= dsize);
assert(s.bt_fsize > N);
// cannot reliably test bt_fsize, because it
// just measures size of file on disk
// assert(s.bt_fsize > N);
}
/* r=txn->commit(txn, 0); CKERR(r); */
......@@ -112,7 +114,9 @@ test_stat64 (unsigned int N) {
assert(0 < s.bt_nkeys && s.bt_nkeys <= N);
assert(s.bt_ndata == s.bt_nkeys);
assert(0 < s.bt_dsize && s.bt_dsize <= dsize);
assert(s.bt_fsize > N);
// cannot reliably test bt_fsize, because it
// just measures size of file on disk
//assert(s.bt_fsize > N);
}
/* r=txn->commit(txn, 0); CKERR(r); */
......
......@@ -73,7 +73,9 @@ test_stat64 (unsigned int N) {
assert(0 < s.bt_nkeys && s.bt_nkeys <= N);
assert(s.bt_ndata == s.bt_nkeys);
assert(0 < s.bt_dsize && s.bt_dsize <= dsize);
assert(s.bt_fsize > N);
// cannot reliably test bt_fsize, because it
// measures the size of the file on disk.
//assert(s.bt_fsize > N);
}
r=txn->commit(txn, 0); CKERR(r);
......@@ -107,7 +109,9 @@ test_stat64 (unsigned int N) {
assert(0 < s.bt_nkeys && s.bt_nkeys <= N);
assert(s.bt_ndata == s.bt_nkeys);
assert(0 < s.bt_dsize && s.bt_dsize <= dsize);
assert(s.bt_fsize > N);
// cannot reliably test bt_fsize, because it
// measures the size of the file on disk.
//assert(s.bt_fsize > N);
}
r=txn->commit(txn, 0); CKERR(r);
......
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