提交 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 () {
}
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);
......
......@@ -28,7 +28,6 @@ describe('VideoEncoderEnum', function () {
afterEach(function() {
console.info('afterEach case');
wait(2000);
})
afterAll(function() {
......
......@@ -28,7 +28,6 @@ describe('VideoHardwareEncoderEnum', function () {
afterEach(function() {
console.info('afterEach case');
wait(2000);
})
afterAll(function() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册