pingcap/tidb

Splitting Test Directories to Increase Test Concurrency and Optimize Cache

Open

#44.940 aperta il 26 giu 2023

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)Go (6186 fork)batch import
good first issuetype/enhancement

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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.

Guida contributor