diff --git a/miscservices/TimeTest_js/Test.json b/miscservices/TimeTest_js/Test.json index 906fff7003b2690eb43b8a6d7c4299aa44e6fa47..751116c6ac4f61ffaa3d8caa30b7d55e447ecfbd 100755 --- a/miscservices/TimeTest_js/Test.json +++ b/miscservices/TimeTest_js/Test.json @@ -2,9 +2,9 @@ "description": "Configuration for time js api Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "21600000", + "test-timeout": "180000", "package": "ohos.acts.miscservices.timer", - "shell-timeout": "21600000" + "shell-timeout": "180000" }, "kits": [ { diff --git a/miscservices/TimerTest_js/Test.json b/miscservices/TimerTest_js/Test.json index db25e45270ef84821ba8bb795829f35b888c6be7..51b191e2d168b83b91ca7f9da534d573c9363b87 100644 --- a/miscservices/TimerTest_js/Test.json +++ b/miscservices/TimerTest_js/Test.json @@ -2,9 +2,9 @@ "description": "Configuration for time js api Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "21600000", + "test-timeout": "180000", "package": "ohos.acts.miscservices.timer", - "shell-timeout": "21600000" + "shell-timeout": "180000" }, "kits": [ { diff --git a/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js b/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js index 8f99d0eb57fe065adf83aba9245015172d14e6c4..790860990aa41ebfaf5ffd9e0ac15513a3020c9d 100644 --- a/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js +++ b/miscservices/TimerTest_js/src/main/js/default/test/SystemTimerJsunit.test.js @@ -61,7 +61,7 @@ describe('TimerTest', function() { it('systemTimer_Timer_test2',0, async () => { console.log("SUB_systemTimer_Timer_JS_API_0200 start") var options = { - type:TIMER_TYPE_REALTIME_WAKEUP, + type:TIMER_TYPE_WAKEUP, repeat:false, persistent:false }