mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-25 10:59:35 -05:00
Add a code comment to the test_send_timeout() test
This commit is contained in:
parent
269ecb6f63
commit
8ebc9c76a9
1 changed files with 5 additions and 0 deletions
|
|
@ -185,6 +185,11 @@ def test_long_axfr(named_port):
|
|||
assert soa is not None
|
||||
|
||||
|
||||
# This test relies on the maximum socket send buffer size (wmem_max) being set
|
||||
# to 212992 bytes (the typical default value on Linux systems). Environments
|
||||
# that use a different value for this setting (for example, FreeBSD defaults to
|
||||
# 32768 bytes) may need their system-level settings to be tweaked in order for
|
||||
# this test to pass.
|
||||
def test_send_timeout(named_port):
|
||||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
|
||||
sock.connect(("10.53.0.1", named_port))
|
||||
|
|
|
|||
Loading…
Reference in a new issue