From 8b140ffc1937e01ad8af5058dd3133ebf3ccda28 Mon Sep 17 00:00:00 2001 From: guduhanyan Date: Fri, 14 Jan 2022 17:40:23 +0800 Subject: [PATCH] 20220114xts00 Signed-off-by: guduhanyan --- miscservices/TimeTest_js/Test.json | 4 ++-- miscservices/TimerTest_js/Test.json | 4 ++-- .../src/main/js/default/test/SystemTimerJsunit.test.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/miscservices/TimeTest_js/Test.json b/miscservices/TimeTest_js/Test.json index 906fff700..751116c6a 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 db25e4527..51b191e2d 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 8f99d0eb5..790860990 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 } -- GitLab