docs: 记入拔网线、千连接浸泡,并将每秒 200 条按决定通过
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# NixMsg 验收对照表(PRD 第 10 节)
|
||||
|
||||
生成时间:2026-10-03T20:22:21Z
|
||||
生成时间:2026-10-11T19:57:48Z
|
||||
|
||||
汇总:通过 22,部分通过 1,失败 0,未测 0
|
||||
汇总:通过 23,部分通过 0,失败 0,未测 0
|
||||
|
||||
整项「通过」表示该行 PRD 一句话里的子项均有测试证据。部分覆盖不得标通过。
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|---|---|---|---|
|
||||
| F01 | 批量开通整批校验、停用、删除群主转让、删除后同编号重开不串数据 | 通过 | 子项 5/5 通过 |
|
||||
| F02 | 新设备登录后旧设备自动退出、换 IP 用令牌重连、两种密码锁定、重置密码后被踢、服务器故障不误报密码错误 | 通过 | 子项 6/6 通过 |
|
||||
| F03 | 断开后状态及时变离线,全表可列出 | 部分通过 (3/4) | F03d 未测:环境限制;验收用关连接模拟断线 |
|
||||
| F03 | 断开后状态及时变离线,全表可列出 | 通过 | 子项 4/4 通过 |
|
||||
| F04 | 只通知订阅了的端 | 通过 | 子项 1/1 通过 |
|
||||
| F05 | 崩溃不丢已提交消息,消息号去重和冲突,密码门生效,配额生效 | 通过 | 子项 5/5 通过 |
|
||||
| F06 | 群成员收到同一份,入群前不补,发送者不收到自己的 | 通过 | 子项 2/2 通过 |
|
||||
@@ -50,7 +50,7 @@
|
||||
| F03a | 断开后状态及时变离线 | 通过 | test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory |
|
||||
| F03b | 目录可列出 | 通过 | test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory |
|
||||
| F03c | 1000 端全表 1s 内返回 | 通过 | Linux Mint 虚拟机 NIXMSG_DIR_N=1000:1000 端在线,分页拉全表 30ms;test/accept/directory_scale_test.go 默认不进 task check |
|
||||
| F03d | 真拔网线后心跳超时离线 | 未测 | 环境限制;验收用关连接模拟断线 |
|
||||
| F03d | 真拔网线后心跳超时离线 | 通过 | 负责人实测拔网线后心跳超时离线,结果正常 |
|
||||
| F04a | 只通知订阅了的端 | 通过 | test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF04PresenceWatch |
|
||||
| F05a | 双端在线单聊送达与确认 | 通过 | test/accept/accept_test.go runMessagingAccept |
|
||||
| F05b | 崩溃不丢已提交消息 | 通过 | test/chaos/q3_crash_test.go TestQ3CrashSubmitThenRestart |
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
本目录提供可执行 PRD 第 8 节指标的压测客户端。**不进 CI**;`go test ./test/load/` 只跑工具自身的最小单测和短时冒烟。
|
||||
|
||||
长时间 1000 连接 / 每秒 200 条 / 10 分钟本轮按负责人要求不跑,但工具已能执行。本地验收口径:50 个连接、每秒 20 条、跑 1 分钟能打出报告。
|
||||
长时间 1000 连接已由负责人保持 20 分钟以上并通过。每秒 200 条、持续 10 分钟按负责人决定记为通过,本次不单跑。本地工具验收口径:50 个连接、每秒 20 条、跑 1 分钟能打出报告。
|
||||
|
||||
## 连接规则(DEVELOPMENT 第 5 节)
|
||||
|
||||
@@ -56,4 +56,4 @@ go run ./test/load/cmd/mqttbench -http http://127.0.0.1:<端口> -admin-pass <
|
||||
| `-register-code` | 空 | 自助注册 |
|
||||
| `-prefix` | qb | 端编号前缀 |
|
||||
|
||||
不要把本命令加进 `task check`。完整规模(1000 在线、每秒 200、10 分钟、1000 人群发 5 秒)在专用机器上把 `-n`/`-rate`/`-duration`/`-group-size` 调到 PRD 第 8 节即可。
|
||||
不要把本命令加进 `task check`。1000 在线已由负责人保持 20 分钟以上并通过;每秒 200 条、持续 10 分钟按负责人决定记为通过,本次不单跑。
|
||||
|
||||
@@ -30,7 +30,7 @@ var catalogSubs = map[string][]SubItem{
|
||||
passSub("F03a", "断开后状态及时变离线", "test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory"),
|
||||
passSub("F03b", "目录可列出", "test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory"),
|
||||
passSub("F03c", "1000 端全表 1s 内返回", "Linux Mint 虚拟机 NIXMSG_DIR_N=1000:1000 端在线,分页拉全表 30ms;test/accept/directory_scale_test.go 默认不进 task check"),
|
||||
untestedSub("F03d", "真拔网线后心跳超时离线", "环境限制;验收用关连接模拟断线"),
|
||||
passSub("F03d", "真拔网线后心跳超时离线", "负责人实测拔网线后心跳超时离线,结果正常"),
|
||||
},
|
||||
"F04": {
|
||||
passSub("F04a", "只通知订阅了的端", "test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF04PresenceWatch"),
|
||||
|
||||
@@ -90,10 +90,10 @@ func TestCatalogHonestSummary(t *testing.T) {
|
||||
untested++
|
||||
}
|
||||
}
|
||||
if pass != 22 || partial != 1 || fail != 0 || untested != 0 {
|
||||
if pass != 23 || partial != 0 || fail != 0 || untested != 0 {
|
||||
t.Fatalf("pass=%d partial=%d fail=%d untested=%d", pass, partial, fail, untested)
|
||||
}
|
||||
wantPartial := map[string]bool{"F03": true}
|
||||
wantPartial := map[string]bool{}
|
||||
for _, it := range items {
|
||||
if wantPartial[it.ID] && it.Status != StatusPartial {
|
||||
t.Fatalf("%s want partial got %s", it.ID, it.Status)
|
||||
|
||||
Vendored
+5
-5
@@ -87,8 +87,8 @@
|
||||
},
|
||||
{
|
||||
"id": "F03",
|
||||
"status": "partial",
|
||||
"note": "F03a 通过(test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory);F03b 通过(test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory);F03c 通过(Linux Mint 虚拟机 NIXMSG_DIR_N=1000:1000 端在线,分页拉全表 30ms;test/accept/directory_scale_test.go 默认不进 task check);F03d 未测(环境限制;验收用关连接模拟断线)",
|
||||
"status": "pass",
|
||||
"note": "F03a 通过(test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory);F03b 通过(test/accept/rest_accept_test.go;internal/app/presence/presence_test.go TestF03PresenceAndDirectory);F03c 通过(Linux Mint 虚拟机 NIXMSG_DIR_N=1000:1000 端在线,分页拉全表 30ms;test/accept/directory_scale_test.go 默认不进 task check);F03d 通过(负责人实测拔网线后心跳超时离线,结果正常)",
|
||||
"subs": [
|
||||
{
|
||||
"id": "F03a",
|
||||
@@ -111,11 +111,11 @@
|
||||
{
|
||||
"id": "F03d",
|
||||
"summary": "真拔网线后心跳超时离线",
|
||||
"status": "untested",
|
||||
"note": "环境限制;验收用关连接模拟断线"
|
||||
"status": "pass",
|
||||
"evidence": "负责人实测拔网线后心跳超时离线,结果正常"
|
||||
}
|
||||
],
|
||||
"passed": 3,
|
||||
"passed": 4,
|
||||
"total": 4
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user