test: 补齐短时间可测验收并修复建群下行卡住

This commit is contained in:
Nixevol
2026-09-30 10:20:47 +08:00
parent 4e3c84366f
commit 479a08ee11
12 changed files with 1078 additions and 87 deletions
+1 -18
View File
@@ -48,7 +48,7 @@ func TestQ2AcceptAndReport(t *testing.T) {
runRegistration(t, srv, set)
runEndpointCreate(t, srv, set)
runMessagingAccept(t, srv, set)
setRemainingUntested(set)
runRestAccept(t, set)
out := make([]report.Item, 0, len(report.Features))
for _, f := range report.Features {
@@ -551,23 +551,6 @@ func runCrashResumeForF08(t *testing.T, set func(string, report.Status, string))
set("F08", report.StatusPass, "已测:提交成功后杀进程重启,离线保留消息续传;toxiproxy 弱网见 Q3 chaos 测试;应用层去重未单独断言")
}
func setRemainingUntested(set func(string, report.Status, string)) {
defaults := map[string]string{
"F03": "未测:directory.list / 断开后离线状态未在本波单独断言",
"F04": "未测:presence.watch 订阅通知未覆盖",
"F07": "未测:256 KiB 边界与接收上限未覆盖",
"F10": "未测:抖动宽限长短断线未单独拨钟",
"F11": "未测:发送方离线后定时到点发送未覆盖",
"F14": "未测:回执补送未覆盖",
"F15": "未测:对话密码授权链路未覆盖",
"F18": "未测:正文删除与记录天数 0 未覆盖",
"F19": "未测:四种 SDK 接入清单属 S1/S2 任务 4",
}
for id, note := range defaults {
set(id, report.StatusUntested, note)
}
}
func findModuleRoot(t *testing.T) string {
t.Helper()
dir, err := os.Getwd()