Make integration tests faster (eg. finished in less than 3 minutes)
Open
Nobody has claimed this yet.
status/help-wanted
type/test
- Dominant language
- Go
- Stars
- 291
- Forks
- 131
- Avg merge
- 5m
- Merged PRs (30d)
- 2
Description
The task of running integration tests is the bottleneck of the build pipeline.
We may try to make it faster by:
- Reducing the number of SQLs tested, may be some of the tests should belong to chaos testing instead of integration testing;
- Split the task into multiple ones and run them in parallel
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the integration-test task, the SQL tests it runs, and the build-pipeline configuration. Compare the current runtime with the proposed test reduction or parallel execution approaches; done means integration tests complete in less than three minutes without losing required coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, sql
- Domain
- ci-cd, performance, testing-qa
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100