提交 78186001 编写于 作者: L ling990

modify testcases Signed-off-by: ling990 <liling96@huawei.com>

Signed-off-by: Nling990 <ling990@qq.com>
上级 99e51353
...@@ -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.
先完成此消息的编辑!
想要评论请 注册