forgejo/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.go
queue_bytefifo.go
queue_channel.go
queue_channel_test.go Skip known flaky queue tests on CI environment (#24419) 2023-04-29 11:53:11 +02:00
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 Fix intermittent CI failure in EmptyQueue (#23753) 2023-05-03 21:37:30 -04:00
unique_queue_redis.go
unique_queue_wrapped.go
workerpool.go