You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
haoliang-net/tests/partitioned_logs_tests.md

12 lines
667 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

测试用例草案
- 用例1分区创建与存在性
- 执行 partitioned_logs.sql确认创建表与分区存在
- 用例2写入分区数据及分析摘要
- 插入若干行数据日志时间分布在不同月份验证数据写入到了相应分区analysis_summary 非空
- 用例3API 查询最新日志及分析摘要
- 调用 API 获取最近日志,校验字段 presence
- 用例4分区查询性能
- 针对历史月份的日志执行查询,验证分区裁剪效果
- 依赖MariaDB 实例、API 服务的可用端点
- 评估标准分区创建成功数据写入正确对应分区检索正确API 返回最新摘要