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

!1582 调整超时时间

Merge pull request !1582 from guduhanyan/master
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("time_js_test") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("time_js_test") {
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "TimeJSApiTest" hap_name = "ActsTimeJSApiTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"description": "Configuration for time js api Tests", "description": "Configuration for time js api Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "21600000", "test-timeout": "180000",
"package": "ohos.acts.miscservices.timer", "package": "ohos.acts.miscservices.timer",
"shell-timeout": "21600000" "shell-timeout": "180000"
}, },
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"TimeJSApiTest.hap" "ActsTimeJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -20,7 +20,7 @@ ohos_js_hap_suite("timer_js_test") { ...@@ -20,7 +20,7 @@ ohos_js_hap_suite("timer_js_test") {
":hjs_demo_resources", ":hjs_demo_resources",
] ]
certificate_profile = "./signature/openharmony_sx.p7b" certificate_profile = "./signature/openharmony_sx.p7b"
hap_name = "TimerJSApiTest" hap_name = "ActsTimerJSApiTest"
} }
ohos_js_assets("hjs_demo_js_assets") { ohos_js_assets("hjs_demo_js_assets") {
source_dir = "./src/main/js/default" source_dir = "./src/main/js/default"
......
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
"description": "Configuration for time js api Tests", "description": "Configuration for time js api Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "21600000", "test-timeout": "180000",
"package": "ohos.acts.miscservices.timer", "package": "ohos.acts.miscservices.timer",
"shell-timeout": "21600000" "shell-timeout": "180000"
}, },
"kits": [ "kits": [
{ {
"test-file-name": [ "test-file-name": [
"TimerJSApiTest.hap" "ActsTimerJSApiTest.hap"
], ],
"type": "AppInstallKit", "type": "AppInstallKit",
"cleanup-apps": true "cleanup-apps": true
......
...@@ -61,7 +61,7 @@ describe('TimerTest', function() { ...@@ -61,7 +61,7 @@ describe('TimerTest', function() {
it('systemTimer_Timer_test2',0, async () => { it('systemTimer_Timer_test2',0, async () => {
console.log("SUB_systemTimer_Timer_JS_API_0200 start") console.log("SUB_systemTimer_Timer_JS_API_0200 start")
var options = { var options = {
type:TIMER_TYPE_REALTIME_WAKEUP, type:TIMER_TYPE_WAKEUP,
repeat:false, repeat:false,
persistent:false persistent:false
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册