1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
zeripath 7cc7f0ed75
TestRepository_GetTag intermittently panics due to an NPE (#18043)
There are repeated panics in tests due to TestRepository_GetTag failing
to run properly.  This happens when we attempt to reset the internal
repo for a tag which has failed to load. The problem is - the panic that
this is causing is preventing us from finding what the real error is.

This PR simply moves the failure out so we have a chance to see what
really is failing.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2021-12-21 11:10:16 +08:00
..
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2021-12-06 00:24:57 +08:00
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2020-10-02 23:37:53 -04:00
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2021-12-20 04:41:31 +00:00
2021-10-18 21:12:26 +01:00
2021-12-20 04:41:31 +00:00
2020-04-05 07:20:50 +01:00
2021-12-20 04:41:31 +00:00
2021-10-13 22:50:23 -04:00
2021-12-20 04:41:31 +00:00