]> source.dussan.org Git - gitea.git/commit
Prevent deadlock in TestPersistableChannelQueue (#17717)
authorzeripath <art27@cantab.net>
Fri, 19 Nov 2021 01:13:25 +0000 (01:13 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Nov 2021 01:13:25 +0000 (01:13 +0000)
commita85e75b2b19b1defa90364e8131b373489025ee6
tree0fcb1df29be4ffbe97c8e5af052962a1edcab7f2
parent72b0882a457fd7ea9f7e8112179ee62fb3eb9f41
Prevent deadlock in TestPersistableChannelQueue (#17717)

* Prevent deadlock in TestPersistableChannelQueue

There is a potential deadlock in TestPersistableChannelQueue due to attempting to
shutdown the test queue before it is ready.

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

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/queue/queue_disk_channel_test.go