提交 4b532aa1 编写于 作者: O openharmony_ci 提交者: Gitee

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

Merge pull request !915 from 胡永延/cherry-pick-1634609537
......@@ -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;
......
文件模式从 100644 更改为 100755
文件模式从 100755 更改为 100644
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册