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

!9921 ActsAmsUsersThirdTest xts异常修复

Merge pull request !9921 from gaolang/xts1
...@@ -333,6 +333,7 @@ export default function abilityTest() { ...@@ -333,6 +333,7 @@ export default function abilityTest() {
} catch (err) { } catch (err) {
console.debug('ACTS_ThirdPartyStartAbility_0800 - timeout'); console.debug('ACTS_ThirdPartyStartAbility_0800 - timeout');
} }
await sleep(2000)
}) })
/* /*
...@@ -341,6 +342,7 @@ export default function abilityTest() { ...@@ -341,6 +342,7 @@ export default function abilityTest() {
* @tc.desc : Starting mainability3 with startAbilityForResult succeeded.(promise) * @tc.desc : Starting mainability3 with startAbilityForResult succeeded.(promise)
*/ */
it('ACTS_ThirdPartyStartAbilityForResult_0100', 0, async function (done) { it('ACTS_ThirdPartyStartAbilityForResult_0100', 0, async function (done) {
await sleep (2000)
var flag = true var flag = true
function timeout() { function timeout() {
if(flag == true) { if(flag == true) {
...@@ -654,7 +656,7 @@ export default function abilityTest() { ...@@ -654,7 +656,7 @@ export default function abilityTest() {
} }
setTimeout(timeout, START_ABILITY_TIMEOUT); setTimeout(timeout, START_ABILITY_TIMEOUT);
await sleep(2000)
}) })
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册