diff --git a/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets b/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets index 5676654b5911ae3bdfcec0f427d1713e6bd89d64..d3790a1aca95c76bc0a208c3ccf59f1945df1dc4 100755 --- a/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets +++ b/ability/ability_runtime/stage/actswindowstagelifecyclesinglehaptest/entry/src/main/ets/test/LifeCycleTest.ets @@ -428,7 +428,7 @@ export default function lifecycleTest() { console.log("------------Singlehap_WindowStageLifeCycleTest_0500 END-------------"); done(); }) - }, 4200); + }, 3800); }); /* @@ -713,8 +713,7 @@ export default function lifecycleTest() { expect(listKeyTemp[0]).assertEqual("Hap1MainAbility1 onWindowStageCreate"); expect(listKeyTemp[1]).assertEqual("Hap1MainAbility1 onWindowStageActive"); expect(listKeyTemp[2]).assertEqual("Hap1MainAbility1 onWindowStageInactive"); - expect(listKeyTemp[3]).assertEqual("Hap1MainAbility1 onWindowStageInactive"); - expect(listKeyTemp[4]).assertEqual("Hap1MainAbility1 onWindowStageDestroy"); + expect(listKeyTemp[3]).assertEqual("Hap1MainAbility1 onWindowStageDestroy"); globalThis.applicationContext9 .unregisterAbilityLifecycleCallback(globalThis.mainAbility9CallBackId, (error, data) => { console.log(TAG + ": unregisterAbilityLifecycleCallback success, err: " + JSON.stringify(error) +