Commit d1e69396 authored by TousakaRin's avatar TousakaRin

fix bug in unittest

parent cc37c963
......@@ -398,7 +398,7 @@ TEST(NamingServiceTest, consul_with_backup_file) {
restful_map.c_str()));
ASSERT_EQ(0, server.Start("localhost:8500", NULL));
bthread_usleep(2000000);
bthread_usleep(5000000);
butil::EndPoint n1;
ASSERT_EQ(0, butil::str2endpoint("10.121.36.189:8003", &n1));
......
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