未验证 提交 dfc63582 编写于 作者: O openharmony_ci 提交者: Gitee

!9474 Bugfix:ActsWindowStageLifecycleSingleHapTest修复延时函数异常问题

Merge pull request !9474 from gaolang/cherry-pick-1690273831
......@@ -930,7 +930,7 @@ export default function lifecycleTest() {
}).catch((error) => {
console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error));
});
}, 2500);
}, 2700);
setTimeout(function () {
var str = {
"bundleName": "com.example.windowstagelifecycle_xts",
......@@ -954,7 +954,7 @@ export default function lifecycleTest() {
console.error(TAG + ' start failed. Cause: ' + JSON.stringify(error));
})
}, 500);
}, 4000);
}, 4500);
setTimeout(function () {
console.log(TAG + " secondCallback listKey : " + JSON.stringify(globalThis.list12));
console.log(TAG + " secondCallback callbackid : " + JSON.stringify(globalThis.callbackid12));
......@@ -983,7 +983,7 @@ export default function lifecycleTest() {
console.log("------------Singlehap_WindowStageLifeCycleTest_1200 END-------------");
done();
});
}, 6200);
}, 7000);
});
/*
......@@ -1073,7 +1073,7 @@ export default function lifecycleTest() {
console.log(TAG + " terminateSelfwithresult error: " + JSON.stringify(error));
});
}, 500);
}, 4500);
}, 4700);
setTimeout(function () {
var str = {
"bundleName": "com.example.windowstagelifecycle_xts",
......@@ -1109,7 +1109,7 @@ export default function lifecycleTest() {
})
}, 500);
}, 500);
}, 5500);
}, 6000);
setTimeout(function () {
console.log(TAG + " secondCallback listKey1 : " + JSON.stringify(globalThis.list1));
let templist1 = globalThis.list1;
......@@ -1173,7 +1173,7 @@ export default function lifecycleTest() {
done();
});
}, 100);
}, 9000);
}, 9700);
});
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册