| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test(ans): optimize unit test sleep efficiency with SelfClean mechanism Replace fixed-duration sleep calls in unit/module tests with direct SelfClean(false) / WaitForFfrtQueue() calls, eliminating ~137 sleep calls across 9 test files. This reduces test execution time and improves stability by synchronizing on actual task completion instead of fixed timeouts. Key changes: - Replace sleep with direct SelfClean(false) calls in 9 test files - Replace sleep with direct WaitForFfrtQueue() in subscriber manager test - Clean TearDown residual sleep, add StopCacheCleanupTimer() - Restore 1000ms sleep for 4 rate-limited publish test cases - No new files, no BUILD.gn changes, no macro abstraction Test results: 534/534 (100%) passed on ARM device with CFI disabled. Change-Id: I2b68edbdca43f183f55f681e0701fb543b668240 Change-Id: I3f3ddc0868105a2c6ebdd3232fae9188429114fd Change-Id: I08f7b9b8b45a2d90bd0580f0e92059b03d0aa514 Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I44098e741e681234033e3ae9cdf8427205e86bfa | 1 天前 | |
!4908 merge master into master add fuzz for AdvancedNotificationService::NotificationExtensionSubscribeNotification Created-by: sunxiaoyao Commit-by: sunxiaoyao Merged-by: openharmony_ci Description: ### 一、内容说明(相关的Issue) AdvancedNotificationService::NotificationExtensionSubscribeNotification FUZZ用例 ### 二、建议测试周期和提测地址 建议测试完成时间:xxxx.xx.xx 投产上线时间:xxxx.xx.xx 提测地址:CI环境/压测环境 测试账号: ### 三、变更内容 * 3.1 关联PR列表 * 3.2 数据库和部署说明 无 * 3.4 其他技术优化内容(做了什么,变更了什么) 无 * 3.5 废弃通知(什么字段、方法弃用?) 无 * 3.6 后向不兼容变更(是否有无法向后兼容的变更?) 无 ### 四、研发自测点(自测哪些?冒烟用例全部自测?) 自测测试结论: ### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方) 检查点: | 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | |------|------------|----------|---------------| | xxx | 否 | 需要 | 不需要 | | | | | | 接口测试: 性能测试: 并发测试: 其他: See merge request: openharmony/notification_distributed_notification_service!4908 | 22 小时前 | |
修复tdd报错 Signed-off-by: x00524330 <xujianhua9@huawei.com> Change-Id: Ia7f4fd90a5a934f56b3f2fe8f6fc046d84c71ad1 | 2 年前 | |
revert remove anm dump, add compile define Signed-off-by: cheerful_ricky <yuegang7@huawei.com> | 5 个月前 | |
test(ans): optimize unit test sleep efficiency with SelfClean mechanism Replace fixed-duration sleep calls in unit/module tests with direct SelfClean(false) / WaitForFfrtQueue() calls, eliminating ~137 sleep calls across 9 test files. This reduces test execution time and improves stability by synchronizing on actual task completion instead of fixed timeouts. Key changes: - Replace sleep with direct SelfClean(false) calls in 9 test files - Replace sleep with direct WaitForFfrtQueue() in subscriber manager test - Clean TearDown residual sleep, add StopCacheCleanupTimer() - Restore 1000ms sleep for 4 rate-limited publish test cases - No new files, no BUILD.gn changes, no macro abstraction Test results: 534/534 (100%) passed on ARM device with CFI disabled. Change-Id: I2b68edbdca43f183f55f681e0701fb543b668240 Change-Id: I3f3ddc0868105a2c6ebdd3232fae9188429114fd Change-Id: I08f7b9b8b45a2d90bd0580f0e92059b03d0aa514 Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: I44098e741e681234033e3ae9cdf8427205e86bfa | 1 天前 | |
feat(notification): add batch slot query API and optimize getAllNotificationEnabledBundles Add isNotificationSlotEnabledByBundles batch slot query API to query multiple bundles' slot enabled state in a single IPC call, avoiding the performance degradation caused by LRU cache misses in the single-query path. Optimize getAllNotificationEnabledBundles to only query _enabledNotification keys (filtered by VALUE IN ('1','3')) and parse bundleName/uid from the key, reducing I/O by ~66%. - Add IDL method GetEnabledForBundleSlots with OrderedMap output - Add full-stack implementation: server, DB, client, helper, NAPI, ANI - Unify single query path to bypass LRU cache via batch query internally - Add QueryDataInKeys batched IN query and QueryEnabledBundles in RDB layer - Add unit tests for server, DB layer, and RDB batch query - Add performance test (300-bundle batch query < 30ms target) Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Co-Authored-By: Agent Change-Id: I59ed3041c14b33a2fbe69517d6b366597f03b11b | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 天前 | ||
| 22 小时前 | ||
| 2 年前 | ||
| 5 个月前 | ||
| 1 天前 | ||
| 1 个月前 |