Commit 7129b3c5 authored by zhujiashun's avatar zhujiashun

Fix ut in slow machine

parent 3b174fe1
......@@ -208,7 +208,7 @@ TEST(ButexTest, wait_without_stop) {
ASSERT_EQ(0, bthread_join(th, NULL));
tm.stop();
ASSERT_LT(labs(tm.m_elapsed() - WAIT_MSEC), 40);
ASSERT_LT(labs(tm.m_elapsed() - WAIT_MSEC), 250);
}
bthread::butex_destroy(butex);
}
......
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