Commit c6b907e8 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4302], fix cachetable-test2

git-svn-id: file:///svn/toku/tokudb@37976 c7de825b-a66e-492c-adef-691d508d4ae1
parent f83b0945
......@@ -223,10 +223,13 @@ static void test_chaining (void) {
assert(r==0);
}
long long pinned;
r = toku_cachetable_get_key_state(ct, make_blocknum(i), f[fnum], 0, 0, &pinned, 0);
assert(r==0);
assert(pinned == 0);
// now that we have a clock instead of an LRU, there
// is no guarantee that PAIR stays in cachetable
//long long pinned;
//r = toku_cachetable_get_key_state(ct, make_blocknum(i), f[fnum], 0, 0, &pinned, 0);
//assert(r==0);
//assert(pinned == 0);
verify_cachetable_against_present();
if (random()%10==0) {
......
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