提交 7620a37d 编写于 作者: J jiyong 提交者: 胡永延

fixed 315772bc from https://gitee.com/hu-yongyan/xts_acts/pulls/597

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