提交 8b099787 编写于 作者: W wangkejing

【communication_lite】【master】XTS_lwip测试用例testSelectMultiClients优化

Signed-off-by: Nwangkejing <wkejing9687@163.com>
Change-Id: Iedcbdccd20089d4c273e04629a296958c68ccc27
上级 6ea7806a
...@@ -664,6 +664,7 @@ LITE_TEST_CASE(LwipFuncTestSuite, testSelectMultiClients, Function | MediumTest ...@@ -664,6 +664,7 @@ LITE_TEST_CASE(LwipFuncTestSuite, testSelectMultiClients, Function | MediumTest
g_selectTimeout = 5; g_selectTimeout = 5;
osThreadId_t serverTaskId = osThreadNew((osThreadFunc_t)SelectServerTask, NULL, &tSelect); osThreadId_t serverTaskId = osThreadNew((osThreadFunc_t)SelectServerTask, NULL, &tSelect);
TEST_ASSERT_NOT_NULL(serverTaskId); TEST_ASSERT_NOT_NULL(serverTaskId);
osDelay(ONE_SECOND);
if (serverTaskId == NULL) { if (serverTaskId == NULL) {
printf("create select server task fail!\n"); printf("create select server task fail!\n");
} else { } else {
...@@ -1092,4 +1093,4 @@ LITE_TEST_CASE(LwipFuncTestSuite, testInvalidParameter, Function | MediumTest | ...@@ -1092,4 +1093,4 @@ LITE_TEST_CASE(LwipFuncTestSuite, testInvalidParameter, Function | MediumTest |
TEST_ASSERT_EQUAL_INT(0, ret); TEST_ASSERT_EQUAL_INT(0, ret);
} }
RUN_TEST_SUITE(LwipFuncTestSuite); RUN_TEST_SUITE(LwipFuncTestSuite);
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册