mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
Merge branch 'ondrej/set-openbsd-system-connection-timeout' into 'main'
Configure the system-wide TCP connection timeout on OpenBSD See merge request isc-projects/bind9!4466
This commit is contained in:
@@ -383,6 +383,7 @@ stages:
|
|||||||
<<: *default_triggering_rules
|
<<: *default_triggering_rules
|
||||||
stage: unit
|
stage: unit
|
||||||
before_script:
|
before_script:
|
||||||
|
- if [ -n "$TCP_CONNECTIONTIMEOUT" ]; then sudo sysctl 'net.inet.tcp.keepinittime=1'; fi
|
||||||
- *setup_softhsm
|
- *setup_softhsm
|
||||||
script:
|
script:
|
||||||
- make -j${TEST_PARALLEL_JOBS:-1} -k unit V=1
|
- make -j${TEST_PARALLEL_JOBS:-1} -k unit V=1
|
||||||
@@ -1216,6 +1217,8 @@ unit:clang:openbsd:amd64:
|
|||||||
<<: *unit_test_job
|
<<: *unit_test_job
|
||||||
variables:
|
variables:
|
||||||
USER: gitlab-runner
|
USER: gitlab-runner
|
||||||
|
# There's no socket option on OpenBSD, so we need to set this globally
|
||||||
|
TCP_CONNECTIONTIMEOUT: 1
|
||||||
needs:
|
needs:
|
||||||
- job: clang:openbsd:amd64
|
- job: clang:openbsd:amd64
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
Reference in New Issue
Block a user