1
0
Fork 0

chore: update linter

This commit is contained in:
Ludovic Fernandez 2023-11-17 01:50:06 +01:00 committed by GitHub
parent 12e50e20e6
commit 553ef94047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 129 additions and 105 deletions

View file

@ -220,10 +220,10 @@ func testTimeout(t *testing.T, withRead bool) {
time.Sleep(10 * time.Millisecond)
assert.Equal(t, 10, len(ln.conns))
assert.Len(t, ln.conns, 10)
time.Sleep(ln.timeout + time.Second)
assert.Equal(t, 0, len(ln.conns))
assert.Empty(t, ln.conns)
}
func TestShutdown(t *testing.T) {