Unverified Commit 09b80321 authored by yiwu-arbug's avatar yiwu-arbug Committed by GitHub

Fix perf context test (#321)

Fixing perf context test failure with `cargo test -- --test_threads=1`. The test assume default perf level is `PerfLevel::EnableCount`, which apparently will affected by other tests.

Tested by running `cargo test -- --test_threads=1`.

Closing #318 
Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
parent d67f38e2
......@@ -419,6 +419,7 @@ mod test {
}
}
set_perf_level(PerfLevel::EnableCount);
let mut ctx = PerfContext::get();
let mut iter = db.iter();
......
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