]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: test: Fix the isc_rwlock_tryupgrade() function's unit test
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:00:29 +0000 (16:00 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:00:29 +0000 (16:00 +0000)
The pthread-based implementation of the isc_rwlock_tryupgrade()
function always returns ISC_R_LOCKBUSY. Fix the test by adding
conditional checks.

Closes #5287

Merge branch '5287-pthread-rwlock-tryupgrade-test-fix' into 'main'

See merge request isc-projects/bind9!10398


Trivial merge