mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-22 18:37:43 +00:00
Only ErrQueueClosed was examined and every other error was discarded, so a run where nothing reached a queue at all would leave the refusal count at zero and the test green. The first unexpected error is now kept and fails the test. The pool is sized so a full queue cannot be one of them: it returns an error of its own and is expected while the consumer is held, which would otherwise make the new check fire on the normal path.