You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/unittest
Rowan Bohde 68731c07c5
Reduce integration test overhead (#32475)
In profiling integration tests, I found a couple places where per-test
overhead could be reduced:

* Avoiding disk IO by synchronizing instead of deleting & copying test
Git repository data. This saves ~100ms per test on my machine
* When flushing queues in `PrintCurrentTest`, invoke `FlushWithContext`
in a parallel.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 months ago
..
consistency.go Replace assert.Fail with assert.FailNow (#27578) 1 year ago
fixtures.go Fix db engine (#32351) 4 months ago
fscopy.go Reduce integration test overhead (#32475) 3 months ago
reflection.go Replace `interface{}` with `any` (#25686) 2 years ago
testdb.go Reduce integration test overhead (#32475) 3 months ago
unit_tests.go Workaround to clean up old reviews on creating a new one (#28554) 12 months ago