0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 17:08:22 +01:00
gitea/modules/queue
zeripath ad8631c069
Fix intermittent CI failure in EmptyQueue (#23753)
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>
2023-05-03 21:37:30 -04:00
..
bytefifo.go
helper.go
manager.go
queue_bytefifo.go
queue_channel_test.go
queue_channel.go
queue_disk_channel_test.go
queue_disk_channel.go
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
unique_queue_channel.go
unique_queue_disk_channel_test.go Fix intermittent CI failure in EmptyQueue (#23753) 2023-05-03 21:37:30 -04:00
unique_queue_disk_channel.go
unique_queue_disk.go
unique_queue_redis.go
unique_queue_wrapped.go
unique_queue.go
workerpool.go