diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js index da5629ef418ad76710372c4b1a907d372e1aa0fe..d7a6b5e227fa704bea88096bacb85c3a4d3a506b 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioAPI.test.js @@ -32,8 +32,7 @@ describe('RecorderLocalTestAudioAPI', function () { const SOURCE_TYPE = 1; const ENCORDER_AACLC = 3; const CHANNEL_TWO = 2; - const RECORDER_TIME = 3000; - const PAUSE_TIME = 1000; + const RECORDER_TIME = 1000; let fdPath; let fileAsset; let fdNumber; @@ -120,7 +119,6 @@ describe('RecorderLocalTestAudioAPI', function () { audioRecorder.on('pause', () => { console.info('setCallback pause() case callback is called'); - sleep(PAUSE_TIME); mySteps.shift(); nextStep(mySteps,done); }); diff --git a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js index a96a6f02b7717ddcba787786ec15d239cd61be08..9690f3be8dc26eabe8e76b60a11f6ca24fed2412 100644 --- a/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js +++ b/multimedia/media/media_js_standard/audioRecorder/src/main/js/test/RecorderLocalTestAudioFUNC.test.js @@ -31,7 +31,7 @@ describe('RecorderLocalTestAudioFUNC', function () { const RESET_STATE = 6; const RELEASE_STATE = 7; const ERROR_STATE = 8; - const RECORDER_TIME = 3000; + const RECORDER_TIME = 1000; const CHANNEL_ONE = 1; const CHANNEL_TWO = 2; const FORMAT_MP4 = 2; @@ -209,7 +209,6 @@ describe('RecorderLocalTestAudioFUNC', function () { audioRecorder.on('pause', () => { console.info('setCallback pause() case callback is called'); - sleep(RECORDER_TIME); mySteps.shift(); nextStep(mySteps,done); });