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

!2528 修正用例错误数字

Merge pull request !2528 from ling990/OpenHarmony-3.1-Release
...@@ -458,7 +458,7 @@ describe('VideoDecoderFuncPromiseTest', function () { ...@@ -458,7 +458,7 @@ describe('VideoDecoderFuncPromiseTest', function () {
} }
let array = new Array(); let array = new Array();
eventEmitter.on('releaseAllDecoder', async () => { eventEmitter.on('releaseAllDecoder', async () => {
for (let j = 0; j < 3; j++) { for (let j = 0; j < 2; j++) {
await array[j].release().then(() => { await array[j].release().then(() => {
array[j] = null; array[j] = null;
}, failCallback).catch(failCatch); }, failCallback).catch(failCatch);
......
...@@ -28,7 +28,6 @@ describe('VideoEncoderEnum', function () { ...@@ -28,7 +28,6 @@ describe('VideoEncoderEnum', function () {
afterEach(function() { afterEach(function() {
console.info('afterEach case'); console.info('afterEach case');
wait(2000);
}) })
afterAll(function() { afterAll(function() {
......
...@@ -28,7 +28,6 @@ describe('VideoHardwareEncoderEnum', function () { ...@@ -28,7 +28,6 @@ describe('VideoHardwareEncoderEnum', function () {
afterEach(function() { afterEach(function() {
console.info('afterEach case'); console.info('afterEach case');
wait(2000);
}) })
afterAll(function() { afterAll(function() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册