From cd817803e786e4d16bebe23df4de5f35f921b142 Mon Sep 17 00:00:00 2001 From: qlw Date: Thu, 15 Dec 2022 16:22:30 +0800 Subject: [PATCH] =?UTF-8?q??= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: qlw --- .../audioManager/src/main/js/test/AudioCall.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js index e68884605..d37170f40 100644 --- a/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js +++ b/multimedia/audio/audio_js_standard/audioManager/src/main/js/test/AudioCall.test.js @@ -478,12 +478,12 @@ describe('audioCall', function () { readpath = 'StarWars10s-1C-44100-2SW.wav'; await getFdRead(readpath); await playbackPromise(AudioRendererOptions, filePath, audio.AudioScene.AUDIO_SCENE_VOICE_CHAT); - await sleep(1000); + await sleep(2000); console.info('AudioFrameworkRecLog: resultFlag : Capturer : ' + resultFlagRec); console.info('AudioFrameworkRenderLog: resultFlag : Renderer : ' + resultFlagRen); - if (resultFlagRec == true) { - expect(resultFlagRen).assertTrue(); + if (resultFlagRec == true && resultFlagRen == true) { + expect(true).assertTrue(); } else { expect(false).assertTrue(); -- GitLab