0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/modules/indexer
zeripath 793ce9dacf
Prevent intermittent failures in RepoIndexerTest (#19225)
The RepoIndexerTest is failing with considerable frequency due to a race inherrent in
its design. This PR adjust this test to avoid the reliance on waiting for the populate
repo indexer to run and forcibly adds the repo to the queue. It then flushes the queue.

It may be worth separating out the tests somewhat by testing the Index function
directly away from the queue however, this forceful method should solve the current
problem.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-27 15:05:01 +08:00
..
bleve
code Lock gofumpt to v0.3.0 and run it (#18866) 2022-02-23 20:16:07 +00:00
issues Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
stats Prevent intermittent failures in RepoIndexerTest (#19225) 2022-03-27 15:05:01 +08:00