]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] fix: test: Fix the nslookup system test
authorArаm Sаrgsyаn <aram@isc.org>
Wed, 27 Nov 2024 15:54:08 +0000 (15:54 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Wed, 27 Nov 2024 15:54:08 +0000 (15:54 +0000)
commit60be885c9b3af124be3d8d36fc25ffb13a98401f
treed9c349fd58d26c366c7737f77e3f529d0130b285
parent99328b7369f3582e09d4de940b2a8c173ec40cfd
parent8607730d82501d905543e4fa189ca8114b8edc10
[9.18] fix: test: Fix the nslookup system test

The nslookup system test checks the count of resolved addresses in
the CNAME tests using a 'grep' match on the hostname, and ignoring
lines containing the 'canonical name' string. In order to protect
the check from intermittent failures like the 'address in use' warning
message, which then automatically resolves after a retry, edit the
'grep' matching string to also ignore the comments (as the mentioned
warning message is a comment which contains the hostname).

Closes #4948

Backport of MR !9523

Merge branch 'backport-4948-nslookup-test-fix-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!9792