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

!6621 修改camera xts用例超时时间

Merge pull request !6621 from SongChunPeng/monthly_20221018
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for camerastandard Tests", "description": "Configuration for camerastandard Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "2000000", "test-timeout": "3000000",
"package": "com.open.harmony.multimedia.cameratest", "package": "com.open.harmony.multimedia.cameratest",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
...@@ -57,7 +57,7 @@ struct CameraIndex { ...@@ -57,7 +57,7 @@ struct CameraIndex {
console.info(TAG + 'Entering core.init()') console.info(TAG + 'Entering core.init()')
console.info(TAG + 'Entering subscribeEvent') console.info(TAG + 'Entering subscribeEvent')
const configService = core.getDefaultService('config') const configService = core.getDefaultService('config')
Want.parameters['timeout'] = 60000 Want.parameters['timeout'] = 600000
configService.setConfig(Want.parameters) configService.setConfig(Want.parameters)
console.info(TAG + 'Entering configService') console.info(TAG + 'Entering configService')
cameraKit(surfaceId) cameraKit(surfaceId)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册