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

!8251 修复部分用例fail的问题 提交avRecorder部分用例代码

Merge pull request !8251 from Nicklaus/master
......@@ -516,10 +516,12 @@ export async function createToRelease(src, avPlayer, done) {
console.info(`case CreateToRelease loop is ${i}`);
expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.RELEASED);
avPlayer = null;
if(i == 999){
done();
}
}, mediaTestBase.failureCallback).catch(mediaTestBase.catchCallback);
}
}
done();
}
export async function playToCompleted(src, avPlayer, done) {
......
......@@ -2,9 +2,9 @@
"description": "Configuration for avRecorder Tests",
"driver": {
"type": "OHJSUnitTest",
"test-timeout": "1000000",
"shell-timeout": "1000000",
"testcase-timeout": 60000,
"test-timeout": "2000000",
"shell-timeout": "2000000",
"testcase-timeout": 150000,
"bundle-name": "ohos.acts.multimedia.audio.avrecorder",
"package-name": "ohos.acts.multimedia.audio.avrecorder"
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册