From ac27dad3242e038b929bfc978e1e1a5358ee1323 Mon Sep 17 00:00:00 2001 From: zhoushufang Date: Thu, 24 Nov 2022 16:00:08 +0800 Subject: [PATCH] fixed b375921 from https://gitee.com/zhoushufang/xts_acts/pulls/6673 Error status caused by xts error timing Signed-off-by: zhoushufang --- .../AudioTonePlayer/src/main/js/test/AudioTonePlayer.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/js/test/AudioTonePlayer.test.js b/multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/js/test/AudioTonePlayer.test.js index c05f15d30..beadd2f1f 100644 --- a/multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/js/test/AudioTonePlayer.test.js +++ b/multimedia/audio/audio_js_standard/AudioTonePlayer/src/main/js/test/AudioTonePlayer.test.js @@ -1107,7 +1107,7 @@ describe('audioTonePlayer',function() { /** *@tc.number : SUB_MULTIMEDIA_AUDIO_TONEPLAYER_PROMISE_ALL_3000 - *@tc.name : AudioTonePlayer-create-load-stop-release success + *@tc.name : AudioTonePlayer-create-load-stop-release fail *@tc.desc : The successful test case of the promise of the dial tone of AudioTonePlayer key 1 *@tc.size : MEDIUM *@tc.type : Function @@ -1128,7 +1128,7 @@ describe('audioTonePlayer',function() { console.info('time: ' + (time2 - time1)); setTimeout(function() { console.info('AudioFrameworkRenderLog: callback all 30 resultFlag : ' + resultFlag); - expect(resultFlag).assertTrue(); + expect(resultFlag).assertFalse(); done(); }, 2000) }) -- GitLab