test(common.socket): Increase margin for memleak test to avoid flaky tests (#15961)

This commit is contained in:
Sven Rebhan 2024-10-02 22:44:16 +02:00 committed by GitHub
parent 22681758f1
commit e65bb0d972
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ func TestTLSMemLeak(t *testing.T) {
final, err := testCycle(2000)
require.NoError(t, err)
require.Less(t, final, 2*initial)
require.Less(t, final, 3*initial)
}
func createClient(endpoint string, addr net.Addr, tlsCfg *tls.Config) (net.Conn, error) {