0chain / 0chain/system_test

Split CLI tests into smaller suite, run in parallel

未关闭
#828 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement post-mainnet
主要语言
Go
星标
8
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

Today a full run takes 1h45m.
This is mostly due to all tests running in a single go process, with parallel limited to the number of CPU cores.
If we split this monolith into 10+ test suites, running each suite as it's own process we should see a dramatic speed improvement.
We would also be able to target re-runs instead of needing to re-run all suites if a single test fails.

Investigate how we could best do this.
Github actions may be a limiting factor - could Jenkins help here?

贡献指南

这个仓库没有索引到贡献指南

调研方向

查看现有 CLI 测试套件结构,以了解测试的组织方式。研究 Go 的测试工具,用于拆分套件和并行执行。检查当前的 GitHub Actions 工作流程,并考虑集成 Jenkins 以进行并行进程管理。确定将测试拆分为 10 个以上独立套件的标准。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, go
领域
ci-cd, testing, tooling
Issue 类型
重构
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。