Skip to content

test(ci): Windows 注册表探测用例串行执行并放宽测试侧超时 - #133

Merged
changexbc merged 1 commit into
mainfrom
fix/win-registry-probe-timeout
Sep 30, 2026
Merged

changexbc merged 1 commit into
mainfrom
fix/win-registry-probe-timeout

Conversation

@changexbc

Copy link
Copy Markdown
Owner

改动

  • 4 个 windows_registry_probe_* 用例加静态锁串行执行,避免并发启动 PowerShell/reg.exe 互相挤占
  • 新增测试专用探测链路:超时 8s → 60s,超时时显式失败(不再返回空候选引发误导性断言)
  • App Paths 原默认值读取超时 15s → 60s

生产侧超时(8s)保持不变。

验证

  • cargo fmt --check、cargo clippy -p wb-switch-core --all-targets --no-deps -- -D warnings 通过
  • windows-only 用例经 x86_64-pc-windows-gnu 目标 cargo check --all-targets 验证编译通过
  • 运行验证由 CI 的 windows-latest 承担

Refs #132

- 组内 4 个用例加静态锁串行执行,避免并发启动 PowerShell/reg.exe 互相挤占
- 新增测试专用探测链路,超时放宽到 60s,超时时显式失败而非返回空候选
- App Paths 原默认值读取超时放宽到 60s
@changexbc
changexbc merged commit 8198201 into main Sep 30, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant