Commit 9b5c24f6 authored by zhujiashun's avatar zhujiashun

reduce sleep time in ns test to adapt to slow machine

parent 42de92b4
......@@ -645,7 +645,7 @@ TEST(NamingServiceTest, discovery_sanity) {
// svc.RenewCount() be one.
ASSERT_EQ(0, dc.Register(dparam));
ASSERT_EQ(0, dc.Register(dparam));
bthread_usleep(1000000);
bthread_usleep(100000);
}
ASSERT_EQ(svc.RenewCount(), 1);
ASSERT_EQ(svc.CancelCount(), 1);
......
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