From 325ee4a6093d7925697fdc2da0bd7d80a9d40228 Mon Sep 17 00:00:00 2001 From: songchunpeng Date: Mon, 21 Nov 2022 18:42:52 +0800 Subject: [PATCH] modify timeout Signed-off-by: songchunpeng --- multimedia/camera/camera_js_standard/Test.json | 2 +- .../camera_js_standard/src/main/ets/MainAbility/pages/index.ets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/camera/camera_js_standard/Test.json b/multimedia/camera/camera_js_standard/Test.json index e35f55816..e3bb4efd0 100644 --- a/multimedia/camera/camera_js_standard/Test.json +++ b/multimedia/camera/camera_js_standard/Test.json @@ -2,7 +2,7 @@ "description": "Configuration for camerastandard Tests", "driver": { "type": "JSUnitTest", - "test-timeout": "2000000", + "test-timeout": "3000000", "package": "com.open.harmony.multimedia.cameratest", "shell-timeout": "60000" }, diff --git a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/pages/index.ets b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/pages/index.ets index b52a36a05..667838088 100644 --- a/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/pages/index.ets +++ b/multimedia/camera/camera_js_standard/src/main/ets/MainAbility/pages/index.ets @@ -57,7 +57,7 @@ struct CameraIndex { console.info(TAG + 'Entering core.init()') console.info(TAG + 'Entering subscribeEvent') const configService = core.getDefaultService('config') - Want.parameters['timeout'] = 60000 + Want.parameters['timeout'] = 600000 configService.setConfig(Want.parameters) console.info(TAG + 'Entering configService') cameraKit(surfaceId) -- GitLab