]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add system test for the deadlock fix
authorDiego Fronza <diego@isc.org>
Mon, 19 Apr 2021 17:23:31 +0000 (14:23 -0300)
committerDiego Fronza <diego@isc.org>
Mon, 26 Apr 2021 14:35:48 +0000 (11:35 -0300)
commit6b37d3ac53f661cb441b99ab9229e767ff6f5dca
tree2fc24114ea4fa756d7c13975aca43165bb6af45a
parent942b83d3926e6b50f75c0ad73e8870db3af76500
Add system test for the deadlock fix

The test spawns 4 parallel workers that keep adding, modifying and
deleting zones, the main thread repeatedly checks wheter rndc
status responds within a reasonable period.

While environment and timing issues may affect the test, in most
test cases the deadlock that was taking place before the fix used to
trigger in less than 7 seconds in a machine with at least 2 cores.
bin/tests/system/addzone/ns3/example.db [new file with mode: 0644]
bin/tests/system/addzone/tests_rndc_deadlock.py [new file with mode: 0755]
util/copyrights