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 e6888460579dce3c55dd71b7d0bc289e38224815..d37170f406004264ca5445575f36f24be7d032f0 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();