pingcap/tidb

Splitting Test Directories to Increase Test Concurrency and Optimize Cache

Open

#44.940 aberto em 26 de jun. de 2023

Ver no GitHub
 (0 comments) (1 reaction) (0 assignees)Go (6.186 forks)batch import
good first issuetype/enhancement

Métricas do repositório

Stars
 (40.090 stars)
Métricas de merge de PR
 (Mesclagem média 14d 4h) (346 fundiu PRs em 30d)

Description

Enhancement

we are using Bazel's shard_count to increase test concurrency and speed up our testing process. However, in some cases, we have found that certain directories have too many tests, which can result in slower test execution times, decreased efficiency, and less optimized cache usage.

To address this issue, we need to split the test directories into smaller, more manageable chunks. This will help increase test concurrency, optimize cache usage, and ultimately improve our testing process.

Guia do colaborador