]> git.ipfire.org Git - thirdparty/bind9.git/commit
Rewrite stress test to pytest
authorMichal Nowak <mnowak@isc.org>
Tue, 9 May 2023 17:11:00 +0000 (19:11 +0200)
committerMichal Nowak <mnowak@isc.org>
Tue, 8 Aug 2023 16:01:17 +0000 (18:01 +0200)
commitb939741cfd4bf69d6721fd60d037b66e798aa70a
tree9083b5d4a538af2c9e4c810562ee5f49eb86371e
parentdd67c81fdcc333d658cefe2a499df8f9fb9acbd5
Rewrite stress test to pytest

The shell version of the test was completed only after all DNS zone
updates were sent, even if the BIND server crashed while processing
them, leading to prolonged execution and potential hang in the CI
environment. The Python rewrite of the test ensures that DNS update
tasks finish within five minutes of starting, irrespective of a BIND
crash possibility or DNS zone updates not finishing in time.

(cherry picked from commit ecd7b30d0ac9f2ada45448f9adf7c9a22f33b122)
bin/tests/system/conf.sh.common
bin/tests/system/stress/clean.sh
bin/tests/system/stress/prereq.sh
bin/tests/system/stress/tests.sh [deleted file]
bin/tests/system/stress/tests_stress_update.py [new file with mode: 0644]
bin/tests/system/stress/update.pl [deleted file]