1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05: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 Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
helper.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
manager.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue_bytefifo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue_channel_test.go Skip known flaky queue tests on CI environment (#24419) 2023-04-29 11:53:11 +02:00
queue_channel.go Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
queue_disk_channel_test.go Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
queue_disk_channel.go Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
queue_disk_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue_disk.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue_redis.go Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
queue_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue_wrapped.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
queue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
unique_queue_channel_test.go Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
unique_queue_channel.go Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
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 Properly flush unique queues on startup (#23154) 2023-02-28 17:55:43 -05:00
unique_queue_disk.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
unique_queue_redis.go Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
unique_queue_wrapped.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
unique_queue.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
workerpool.go Correctly handle select on multiple channels in Queues (#22146) 2022-12-30 02:06:47 +02:00