Fix open connections metric

Co-authored-by: Romain <rtribotte@users.noreply.github.com>
This commit is contained in:
mpl 2023-03-20 16:02:06 +01:00 committed by GitHub
parent 598a257ae1
commit 7c2af10bbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 126 additions and 236 deletions

View file

@ -79,7 +79,7 @@ func testShutdown(t *testing.T, router *tcprouter.Router) {
Transport: epConfig,
ForwardedHeaders: &static.ForwardedHeaders{},
HTTP2: &static.HTTP2Config{},
}, nil)
}, nil, nil)
require.NoError(t, err)
conn, err := startEntrypoint(entryPoint, router)
@ -164,7 +164,7 @@ func TestReadTimeoutWithoutFirstByte(t *testing.T) {
Transport: epConfig,
ForwardedHeaders: &static.ForwardedHeaders{},
HTTP2: &static.HTTP2Config{},
}, nil)
}, nil, nil)
require.NoError(t, err)
router := &tcprouter.Router{}
@ -201,7 +201,7 @@ func TestReadTimeoutWithFirstByte(t *testing.T) {
Transport: epConfig,
ForwardedHeaders: &static.ForwardedHeaders{},
HTTP2: &static.HTTP2Config{},
}, nil)
}, nil, nil)
require.NoError(t, err)
router := &tcprouter.Router{}