pingcap/tidb

Splitting Test Directories to Increase Test Concurrency and Optimize Cache

Open

#44.940 geöffnet am 26. Juni 2023

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Go (6.186 Forks)batch import
good first issuetype/enhancement

Repository-Metriken

Stars
 (40.090 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 4h) (346 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide