Skip to content

Commit

Permalink
test(common.socket): Increase margin for memleak test to avoid flaky …
Browse files Browse the repository at this point in the history
…tests (influxdata#15961)
  • Loading branch information
srebhan authored Oct 2, 2024
1 parent 2268175 commit e65bb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/common/socket/socket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e65bb0d

Please sign in to comment.