diff --git a/ability/ability_runtime/actsusers/ActsAmsUsersThirdTest/entry/src/main/ets/test/Ability.test.ets b/ability/ability_runtime/actsusers/ActsAmsUsersThirdTest/entry/src/main/ets/test/Ability.test.ets index 29f4efe147a80a107a40ab4e8d464113b77a27fa..5f06e501a4709414ced3fe1b69f40105881936da 100644 --- a/ability/ability_runtime/actsusers/ActsAmsUsersThirdTest/entry/src/main/ets/test/Ability.test.ets +++ b/ability/ability_runtime/actsusers/ActsAmsUsersThirdTest/entry/src/main/ets/test/Ability.test.ets @@ -333,6 +333,7 @@ export default function abilityTest() { } catch (err) { console.debug('ACTS_ThirdPartyStartAbility_0800 - timeout'); } + await sleep(2000) }) /* @@ -341,6 +342,7 @@ export default function abilityTest() { * @tc.desc : Starting mainability3 with startAbilityForResult succeeded.(promise) */ it('ACTS_ThirdPartyStartAbilityForResult_0100', 0, async function (done) { + await sleep (2000) var flag = true function timeout() { if(flag == true) { @@ -654,7 +656,7 @@ export default function abilityTest() { } setTimeout(timeout, START_ABILITY_TIMEOUT); - + await sleep(2000) }) /*