提交 315772bc 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
Change-Id: I9dd89324d9e53abcdf4552d791f34b001215c4ee
上级 523e7b64
......@@ -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.
先完成此消息的编辑!
想要评论请 注册