提交 7bb80b3a 编写于 作者: B bayanxing

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

Signed-off-by: Nbayanxing <bayanxing@kaihong.com>
上级 73c09284
......@@ -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.
先完成此消息的编辑!
想要评论请 注册