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

!8827 AVPlayerLocalTest 偶现fail问题解决 master

Merge pull request !8827 from Nicklaus/master
...@@ -284,7 +284,7 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) { ...@@ -284,7 +284,7 @@ export function setAVPlayerFunCb(src, avPlayer, playTest, playTime, done) {
completedCnt++; completedCnt++;
expect(avPlayer.currentTime).assertEqual(avPlayer.duration); expect(avPlayer.currentTime).assertEqual(avPlayer.duration);
expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.COMPLETED); expect(avPlayer.state).assertEqual(AV_PLAYER_STATE.COMPLETED);
if (completedCnt == 1) { if (completedCnt == 1 && seekDoneCnt[0] < 5) {
// step 9: completed -> play // step 9: completed -> play
avPlayer.play(); avPlayer.play();
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册