diff --git a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js index 1a62ba4ab25f963ba78a5cac3a826a0121354657..855cc2cc844c87cc079f3395bb018a99eed782cc 100644 --- a/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js +++ b/multimedia/media/media_js_standard/videoDecoder/src/main/js/test/VideoDecoderFuncPromiseTest.test.js @@ -458,7 +458,7 @@ describe('VideoDecoderFuncPromiseTest', function () { } let array = new Array(); eventEmitter.on('releaseAllDecoder', async () => { - for (let j = 0; j < 3; j++) { + for (let j = 0; j < 2; j++) { await array[j].release().then(() => { array[j] = null; }, failCallback).catch(failCatch); diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js index 72138c4d9be898c15f23a2f946b6bc7bf2b1754b..504a0e0df72cacc48c5a4c14177bf7b54ca5ee11 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoEncoderEnumTest.test.js @@ -28,7 +28,6 @@ describe('VideoEncoderEnum', function () { afterEach(function() { console.info('afterEach case'); - wait(2000); }) afterAll(function() { diff --git a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js index e89bca1138e58b3b73020a0d8f134a64046794ef..524bdcc377e90ce1aab5cf85f2ae3acc2596f410 100644 --- a/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js +++ b/multimedia/media/media_js_standard/videoEncoder/src/main/js/test/VideoHardwareEncoderEnumTest.test.js @@ -28,7 +28,6 @@ describe('VideoHardwareEncoderEnum', function () { afterEach(function() { console.info('afterEach case'); - wait(2000); }) afterAll(function() {