This is an automated email from the ASF dual-hosted git repository.
wwbmmm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new f6029736 Fix slow test in brpc_socket_unittest.cpp (#1898)
f6029736 is described below
commit f6029736df03349cf4cbb50ab8c817bbce478e1d
Author: Jiashun Zhu <[email protected]>
AuthorDate: Thu Aug 25 04:15:38 2022 +0200
Fix slow test in brpc_socket_unittest.cpp (#1898)
---
test/brpc_socket_unittest.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/brpc_socket_unittest.cpp b/test/brpc_socket_unittest.cpp
index c607dc3e..1011c397 100644
--- a/test/brpc_socket_unittest.cpp
+++ b/test/brpc_socket_unittest.cpp
@@ -747,7 +747,7 @@ TEST_F(SocketTest, health_check) {
start_time = butil::gettimeofday_us();
while (brpc::Socket::Status(id) != 0) {
bthread_usleep(1000);
- ASSERT_LT(butil::gettimeofday_us(), start_time + 1000000L);
+ ASSERT_LT(butil::gettimeofday_us(), start_time + 1200000L);
}
ASSERT_TRUE(global_sock);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]