]> source.dussan.org Git - gitea.git/commit
archiver: tests: fix test by calling NewContext()
authorKyle Evans <kevans@FreeBSD.org>
Fri, 8 May 2020 00:02:50 +0000 (19:02 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 8 May 2020 00:02:50 +0000 (19:02 -0500)
commit709c35685eaaf261ebbb7d3420e3376a4ee8e7f2
tree9b04e9e57d840e99a37f7c753ced9c7bb67e8d94
parent75261f56bc05d1fa8ff7e81dcbc0ccd93fdc9d50
archiver: tests: fix test by calling NewContext()

The mutex is otherwise uninitialized, so we need to ensure that we're
actually initializing it if we plan to test it.
services/archiver/archiver_test.go