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 f6f0e3c93cfa668f83c43164dd57b292a8957751..7303353e9a650f37b760c6d996ab275b5fee0ea8 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);