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

!504 修改GetBundleSize接口测试用例中所需安装hap包的名称

Merge pull request !504 from jiyong/master
...@@ -989,7 +989,7 @@ HWTEST_F(BundleMgrTest, testStressConfig_0002, Function | MediumTest | Level2) ...@@ -989,7 +989,7 @@ HWTEST_F(BundleMgrTest, testStressConfig_0002, Function | MediumTest | Level2)
char *bundleName2 = (char*)"com.huawei.testjsdemoBtestjsdemoB"; char *bundleName2 = (char*)"com.huawei.testjsdemoBtestjsdemoB";
sem_init(&g_sem, 0, 0); sem_init(&g_sem, 0, 0);
InstallParam installParam = {.installLocation = 1,.keepData = false }; InstallParam installParam = {.installLocation = 1,.keepData = false };
string hapPath = g_testPath + "frequentlyStress2.hap"; string hapPath = g_testPath + "frequentlyStress.hap";
Install(hapPath.c_str(), &installParam, TestBundleStateCallback); Install(hapPath.c_str(), &installParam, TestBundleStateCallback);
sem_wait(&g_sem); sem_wait(&g_sem);
for (int i = 1; i <= 100; i++) { for (int i = 1; i <= 100; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册