forgejo/modules/queue
Gusted fa2a135f68 chore: QoL improvements to tests (#7917)
- Use mock helper functions, instead of home-brew solutions.
- Disable cron jobs that are not important to be run during integration tests and might even interfere.
- Avoid sleeping unnecessary, if there's some requirement then sleep or retry until that requirement is met.
- Avoid trying to deliver webhooks that will always result in a failure.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7917
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-05-21 15:45:56 +02:00
..
lqinternal
mock Update module go.uber.org/mock to v0.5.1 (forgejo) (#7488) 2025-04-08 11:11:21 +00:00
backoff.go
base.go
base_channel.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_channel_test.go
base_dummy.go
base_levelqueue.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_levelqueue_common.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_levelqueue_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_levelqueue_unique.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_redis.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_redis_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_redis_with_server_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
base_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
config.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
manager.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
manager_test.go chore: QoL improvements to tests (#7917) 2025-05-21 15:45:56 +02:00
queue.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
testhelper.go
workergroup.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
workerqueue.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
workerqueue_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00