test: slim gateway startup helpers and configure nextest

This commit is contained in:
AAEE86
2026-09-24 10:13:01 +08:00
parent 27ae884759
commit 926f5cc928
11 changed files with 134 additions and 130 deletions
+8
View File
@@ -0,0 +1,8 @@
# GitHub-hosted ubuntu runner 当前按 4 vCPU 配置;固定线程数可避免 runner
# 规格变化时测试并发和内存峰值随之漂移。
[profile.default]
test-threads = 4
# 60 秒后标记慢测试,连续两轮仍未结束则终止,避免单个卡死用例拖满整个 job。
# 真实连接/数据库测试仍有足够时间完成;超时结果保持失败,不隐藏回归。
slow-timeout = { period = "60s", terminate-after = 2, grace-period = "10s" }