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.
This commit is contained in:
Diego Fronza
2021-04-19 14:23:31 -03:00
committed by Diego dos Santos Fronza
parent 9298dcebbd
commit d6224035d8
3 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
@ IN SOA localhost. localhost.localhost. 1 10800 3600 605800 86400
@ IN NS localhost.