mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-23 09:18:15 -06:00
Integration tests load fixtures after the app starts, while the indexers still initialize and populate in the background. A slow start indexed every fixture repo or dropped early index updates, making search tests flaky. The indexer startup goroutines now join a WaitGroup that only the test harness waits on. This replaces the issue indexer's `syncReindex` flag. Also fixes a flaky `SyncDirs` test that relied on directory listing order. Assisted-by: Claude Code:claude-opus-5-5