valyala / fasthttp

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
MIT License
21.66k stars 1.75k forks source link

Flaky test TestShutdownWithContext #1490

Closed alexandear closed 10 months ago

alexandear commented 1 year ago

The TestShutdownWithContext sometimes fails without any reason:

test (1.18.x, macos-latest):

--- FAIL: TestShutdownWithContext (2.01s)
    server_test.go:3681: unexpected open connection num: 2. Expecting 1
FAIL
FAIL    github.com/valyala/fasthttp 4.914s
li-jin-gou commented 1 year ago

I am investigating the cause.

alexandear commented 10 months ago

No longer reproduced.