]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: test: Fix the task unit test
authorArаm Sаrgsyаn <aram@isc.org>
Thu, 10 Apr 2025 20:36:19 +0000 (20:36 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Thu, 10 Apr 2025 20:36:19 +0000 (20:36 +0000)
commit63dc025d2832c779a0e330eb79ae983be9f76775
tree7db161b390217b367af097bbf99f75f65ea0ad4b
parent24ba32450d744403097599f709104dda48d708bb
parenta6aee6a95ef1b128468d9677b60ccf50dde5e75d
fix: test: Fix the task unit test

The timers can be destroyed while the timer actions are still running,
and when the action calls isc_event_free() it can assert, because it's
trying to access the destroyed timer object.

Prior to destroying the timers, first disable them, then a short grace
period before destroying them.

Closes #5228

Merge branch '5228-task-unit-test-fix-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!10352