Files
ssw-mvp/docs/e2e/cases/TC-REL-008.mjs
T
admin 3247e9fd15 init: ssw-mvp initial commit
- boot/ (Java/Maven, JNPF 7.0) — 移除旧的 boot/.git,源码直接纳入仓库
- web/ (Vue 3 + Vite + Ant Design Vue, pnpm)
- docs/, scard/, nax/
- refs/INDEX.md + refs/国标/(其余 refs/* 开源子仓库不纳入)
- 已忽略: connector_data/, jweb/, log/, web/{dist,node_modules,.pnpm}, boot/*/target/, .DS_Store, .idea, .vscode
2026-08-05 18:29:12 +08:00

33 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* TC-REL-008 · 失效后较快重建系统
* REQ-Q-REL 质量特性-可靠性 正向 P0
*
* 前置:1. 系统已部署并正常运行 2. 网络及测试环境可用
* 步骤:1. 使系统运行失效 2. 按流程重建系统
* 预期:1. 系统运行失效后能够较快重建并恢复服务
*
* 「系统失效/重建」属于运维操作,浏览器自动化无法真正停机再恢复。
*/
export const meta = {
tc: 'TC-REL-008',
req: 'Q-REL',
title: '失效后较快重建系统',
type: '正向',
priority: 'P0',
route: '',
needs: []
}
export async function run(t) {
t.manual(`人工核对指引(浏览器无法在 CI 中执行停机/重建):
1. 按 docs/tdd/P1P2_CHAIN_K8S_REPORT.md 或 docs/VERIFICATION_*.md 中的部署脚本完整执行部署;
2. 记录部署耗时 T_deploy;预期 < 15 分钟(由运维 k8s + 数据库迁移 + 链组件启动构成);
3. 触发可控失效(任选其一):
a) kubectl delete pod <pod> --grace-period=0;k8s 应自动重建;
b) docker compose restart ssw-tds;观察容器再次就绪耗时 T_recover;
4. 部署完成后核对:
- /tds/spaces 与 /tdc/datasources 首页 200;
- 登录 token 可获取;
- 至少一次正向业务(新建一条数据产品)端到端成功;
5. 验收文档:T_deploy、T_recover 记录、失败原因分析。`)
}