在使用 -count>1 运行包时,TestAntsPool 会卡死
作者: rowhitswami创建于 2026年9月8日更新于 2026年9月8日
标签help wantedneeds investigationneeds more info
`TestAntsPool` blocks indefinitely when the test binary runs it more than once in the same process, so `go test -count=2` or higher never completes and the whole package times out.
内容来源: panjf2000/ants