未验证 提交 3f9fae23 编写于 作者: O openharmony_ci 提交者: Gitee

!2095...

!2095 【Openharmony-3.0-LTS】【communication_lite】同步主干,ActsLwipTest用例SelectServerForFork方法的超时时长设置为15s,增强兼容性
Merge pull request !2095 from yelin10/myfeature
...@@ -659,7 +659,7 @@ HWTEST_F(ActsLwipTest, testSelectOneClient, Function | MediumTest | Level2) ...@@ -659,7 +659,7 @@ HWTEST_F(ActsLwipTest, testSelectOneClient, Function | MediumTest | Level2)
if (pid == 0) { if (pid == 0) {
// child: server // child: server
int exitCode = 0; int exitCode = 0;
int ret = SelectServerForFork(5); int ret = SelectServerForFork(15);
if (ret != 0) { if (ret != 0) {
printf("[select server]run fail\n"); printf("[select server]run fail\n");
exitCode = 1; exitCode = 1;
...@@ -699,7 +699,7 @@ HWTEST_F(ActsLwipTest, testSelectMultiClients, Function | MediumTest | Level2) ...@@ -699,7 +699,7 @@ HWTEST_F(ActsLwipTest, testSelectMultiClients, Function | MediumTest | Level2)
if (pid == 0) { if (pid == 0) {
// child: server // child: server
int exitCode = 0; int exitCode = 0;
int ret = SelectServerForFork(5); int ret = SelectServerForFork(15);
if (ret != 0) { if (ret != 0) {
printf("[select server]run fail\n"); printf("[select server]run fail\n");
exitCode = 1; exitCode = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册