diff --git a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEvent.test.js b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEvent.test.js index b5d6b608321655408a4768dc1f473f369ce3893c..3a6c339540c56a0d632010adb0afb220f16766dc 100644 --- a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEvent.test.js +++ b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEvent.test.js @@ -996,13 +996,13 @@ describe('hiSysEventJsTest', function () { /** * @tc.number DFX_DFT_HiSysEvent_JS_2200 * @tc.name testHiSysEventApi22 - * @tc.desc 验证调用query接口,可添加10条查询规则 + * @tc.desc 验证调用query接口,可添加100条查询规则 */ it('testHiSysEventApi22', 3, async function (done) { console.info('testHiSysEventApi22 start') try { let msgArray = [] - for (let i = 0; i < 10; i++) { + for (let i = 0; i < 100; i++) { msgArray[i] = { domain: "RELIABILITY", names: ["SYS_FREEZE"], diff --git a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventErrcode.test.js b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventErrcode.test.js index 4296ad3a4d61e55abb4b9254a74274cce4d341bb..a44071c309e84dcd26c2fb1b112ef765ecd533c5 100644 --- a/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventErrcode.test.js +++ b/hiviewdfx/hisyseventtest/hisyseventjstest/src/main/js/test/HiSysEventErrcode.test.js @@ -678,14 +678,14 @@ describe('hiSysEventErrcodeTest', function () { /** * @tc.number DFX_DFT_HiSysEvent_JS_4600 * @tc.name testHiSysEventApi46 - * @tc.desc 验证调用query接口查询系统事件,查询规则个数超过10个,忽略此次系统事件的查询,错误码11200301。 + * @tc.desc 验证调用query接口查询系统事件,查询规则个数超过100个,忽略此次系统事件的查询,错误码11200301。 */ it('testHiSysEventApi46', 3, async function (done) { console.info('testHiSysEventApi46 start') setTimeout(() => { try { let msgArray = [] - for (let i = 0; i < 11; i++) { + for (let i = 0; i < 101; i++) { msgArray[i] = { domain: "RELIABILITY", names: ["STACK"], diff --git a/hiviewdfx/hisyseventtest/hisyseventsertest/src/main/js/test/HiSysEventSer.test.js b/hiviewdfx/hisyseventtest/hisyseventsertest/src/main/js/test/HiSysEventSer.test.js index f9efa9d6ba5058c1ef4016b394a045dbb33ccf52..b8727db4f72291b60fa58efded05966e2acbe04b 100644 --- a/hiviewdfx/hisyseventtest/hisyseventsertest/src/main/js/test/HiSysEventSer.test.js +++ b/hiviewdfx/hisyseventtest/hisyseventsertest/src/main/js/test/HiSysEventSer.test.js @@ -154,7 +154,7 @@ describe('hiSysEventSerTest', function () { * @tc.name testHiSysEventBox23 * @tc.desc 验证调用subscribe接口,关闭hiview进程,抛出错误码11200003 */ - it('testHiSysEventBox09', 1, async function (done) { + it('testHiSysEventBox23', 1, async function (done) { console.info('testHiSysEventBox23 start') try { hiSysEvent.subscribe([{ @@ -176,7 +176,7 @@ describe('hiSysEventSerTest', function () { * @tc.name testHiSysEventBox24 * @tc.desc 验证调用unsubscribe接口,关闭hiview进程,抛出错误码11200003 */ - it('testHiSysEventBox09', 1, async function (done) { + it('testHiSysEventBox24', 1, async function (done) { console.info('testHiSysEventBox24 start') try { hiSysEvent.unsubscribe();