提交 1e4620a4 编写于 作者: J jiyong

jiyong@huawei.com

Signed-off-by: Njiyong <jiyong@huawei.com>
上级 a9054f01
......@@ -970,7 +970,7 @@ HWTEST_F(BundleMgrTest, testStressConfig_0001, Function | MediumTest | Level2)
{
printf("------start testStressConfig_0001------\n");
char *bundleName = (char*)"com.huawei.testjsdemo";
for(int i = 1; i <= 100; i++) {
for (int i = 1; i <= 100; i++) {
uint32_t resultCode = GetBundleSize(bundleName);
EXPECT_GT(resultCode, 0);
}
......@@ -992,7 +992,7 @@ HWTEST_F(BundleMgrTest, testStressConfig_0002, Function | MediumTest | Level2)
string hapPath = g_testPath + "frequentlyStress2.hap";
Install(hapPath.c_str(), &installParam, TestBundleStateCallback);
sem_wait(&g_sem);
for(int i = 1; i <= 100; i++) {
for (int i = 1; i <= 100; i++) {
uint32_t resultCode = GetBundleSize(bundleName);
EXPECT_GT(resultCode, 0);
resultCode = GetBundleSize(bundleName2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册