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

closes #5712, fix test

git-svn-id: file:///svn/toku/tokudb@50683 c7de825b-a66e-492c-adef-691d508d4ae1
parent 09ccb3a9
...@@ -152,7 +152,7 @@ void evictor_unit_test::verify_ev_m_size_reserved() { ...@@ -152,7 +152,7 @@ void evictor_unit_test::verify_ev_m_size_reserved() {
assert(m_ev.m_size_current == 150); assert(m_ev.m_size_current == 150);
assert(m_ev.m_size_evicting == 0); assert(m_ev.m_size_evicting == 0);
usleep(1*1024*1024); // sleep to give eviction thread a chance to wake up usleep(1*1024*1024); // sleep to give eviction thread a chance to wake up
assert(m_ev.m_num_eviction_thread_runs == 1); assert(m_ev.m_num_eviction_thread_runs > 0);
m_ev.m_size_current = 0; m_ev.m_size_current = 0;
m_ev.destroy(); m_ev.destroy();
......
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