]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.20] fix: test: Fix the isc_rwlock_tryupgrade() function's unit test
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:40:51 +0000 (16:40 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 16 Apr 2025 16:40:51 +0000 (16:40 +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

Backport of MR !10398

Merge branch 'backport-5287-pthread-rwlock-tryupgrade-test-fix-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10403


Trivial merge