From 245830d3c4e042d62d83aa61741f711a644ac9f6 Mon Sep 17 00:00:00 2001 From: uoengopen Date: Mon, 30 May 2022 11:56:04 +0800 Subject: [PATCH] guofeng43@huawei.com Signed-off-by: uoengopen --- .../src/main/js/default/test/Hidebug.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js b/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js index f6f0e3c93..7303353e9 100644 --- a/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js +++ b/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/default/test/Hidebug.test.js @@ -323,8 +323,8 @@ describe('HidebugJsTest', function () { console.log('************* DFX_DFR_Hiprofiler_Interface_0014 Test start*************'); try { let temp = -1; - for(let i=0;i<101;i++){ - for(let j=0;j<101;j++){ + for(let i=0;i<=101;i++){ + for(let j=0;j<=101;j++){ if(i+j == 202){ temp = hidebug.getCpuUsage(); console.info("CpuUsage is " + temp); -- GitLab