The ordering of the final token causing a close of the queue in this test may be out of sync due to concurrency. Instead just use ensure that the queue is closed when everything expected is done. Fixes: https://github.com/go-gitea/gitea/issues/23608 Fixes: https://github.com/go-gitea/gitea/issues/23977 --------- Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: KN4CK3R <admin@oldschoolhack.me> |
||
|---|---|---|
| .. | ||
| bytefifo.go | ||
| helper.go | ||
| manager.go | ||
| queue.go | ||
| queue_bytefifo.go | ||
| queue_channel.go | ||
| queue_channel_test.go | ||
| queue_disk.go | ||
| queue_disk_channel.go | ||
| queue_disk_channel_test.go | ||
| queue_disk_test.go | ||
| queue_redis.go | ||
| queue_test.go | ||
| queue_wrapped.go | ||
| setting.go | ||
| unique_queue.go | ||
| unique_queue_channel.go | ||
| unique_queue_channel_test.go | ||
| unique_queue_disk.go | ||
| unique_queue_disk_channel.go | ||
| unique_queue_disk_channel_test.go | ||
| unique_queue_redis.go | ||
| unique_queue_wrapped.go | ||
| workerpool.go | ||