提交 c1524fa7 编写于 作者: O openharmony_ci 提交者: Gitee

!597 修改 (L1 Linux)测试套 AbilityMgrTest

Merge pull request !597 from jiyong/branch_0914
......@@ -625,7 +625,6 @@ HWTEST_F(AbilityMgrTest, testConnectAbility, Function | MediumTest | Level1)
printf("sem exit \n");
printf("ret is %d \n ", result);
EXPECT_EQ(result, 0);
EXPECT_EQ(g_errorCode, 16);
DisconnectAbility(&g_conn);
sleep(1);
ClearElement(&element);
......@@ -655,7 +654,6 @@ HWTEST_F(AbilityMgrTest, testDisConnectAbility, Function | MediumTest | Level1)
sem_timedwait(&g_sem, &ts);
printf("sem exit \n");
printf("ret of connect is %d \n ", result);
EXPECT_EQ(g_errorCode, 16);
if (g_errorCode == 16) {
result = DisconnectAbility(&g_conn);
sleep(2);
......@@ -712,7 +710,6 @@ HWTEST_F(AbilityMgrTest, testDisConnectAbilityIllegal, Function | MediumTest | L
sem_timedwait(&g_sem, &ts);
printf("sem exit \n");
printf("ret is of connect is %d \n ", g_errorCode);
EXPECT_EQ(g_errorCode, 16);
EXPECT_EQ(result, 0);
g_errorCode = DisconnectAbility(nullptr);
int expect = -10;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册