]> source.dussan.org Git - gitea.git/commit
archiver: tests: resolve potential source of flakiness
authorKyle Evans <kevans@FreeBSD.org>
Wed, 6 May 2020 00:31:14 +0000 (19:31 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 6 May 2020 00:46:09 +0000 (19:46 -0500)
commiteb15781d983325301d04720f4f70cd5cd0151cbb
tree59859bb0e82dc2ffa6cfb854e054618adf01ec19
parent6b25f4385337fdb9dbf08cbfc28a52e6fb9b3742
archiver: tests: resolve potential source of flakiness

Increase all timeouts to 10 seconds; these aren't hard-coded sleeps, so
there's no guarantee we'll actually take that long. If we need longer to
not have a false-positive, then so be it.

While here, various assert.{Not,}Equal arguments are flipped around so that
the wording in error output reflects reality, where the expected argument is
second and actual third.
services/archiver/archiver_test.go