1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-03 03:56:18 -04:00
gitea/modules/queue
zeripath 7b4c3c7bb1
Prevent intermittent NPE in queue tests (#19301)
There appears to be an intermittent NPE in queue tests relating to the deferred
shutdown/terminate functions.

This PR more formally asserts that shutdown and termination occurs before starting
and finishing the tests but leaves the defer in place to ensure that if there is an
issue shutdown/termination will occur.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-04-02 15:59:04 +08:00
..
bytefifo.go
helper.go
manager.go
queue_bytefifo.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_disk_channel_test.go Prevent intermittent NPE in queue tests (#19301) 2022-04-02 15:59:04 +08:00
queue_disk_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
queue_disk_test.go
queue_disk.go
queue_redis.go
queue_test.go
queue_wrapped.go
queue.go
setting.go
unique_queue_channel_test.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_disk_channel.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
unique_queue_disk.go
unique_queue_redis.go
unique_queue_wrapped.go
unique_queue.go
workerpool.go Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00