summaryrefslogtreecommitdiff
path: root/test/100-basic-name-resolution.bats
diff options
context:
space:
mode:
authoropenshift-merge-bot[bot] <148852131+openshift-merge-bot[bot]@users.noreply.github.com>2024-09-30 09:47:43 +0000
committerGitHub <noreply@github.com>2024-09-30 09:47:43 +0000
commitebd73686aa9b71985c9a2cd2697dfc88ee0b02bd (patch)
tree0bcc41d6c8bc14ea9fce6d01ea7884ee5645c4f5 /test/100-basic-name-resolution.bats
parentfda45dac5fce00b442c4dc8cee8c39e2564dc0fc (diff)
parentfb501cfac46ac2068d81df42f3b3acdc97cc4e12 (diff)
Merge pull request #519 from Luap99/packit-failuresHEADmain
test: make them pass on RHEL/Centos Stream 9
Diffstat (limited to 'test/100-basic-name-resolution.bats')
-rw-r--r--test/100-basic-name-resolution.bats4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/100-basic-name-resolution.bats b/test/100-basic-name-resolution.bats
index b396eb1..2006c28 100644
--- a/test/100-basic-name-resolution.bats
+++ b/test/100-basic-name-resolution.bats
@@ -89,7 +89,9 @@ load helpers
run_in_container_netns "$a1_pid" "dig" "+tcp" "google.com" "@$gw"
# validate that we get an ipv4
assert "$output" =~ "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+"
- assert "$output" =~ "\(TCP\)" "server used TCP"
+ # TODO This is not working on rhel/centos 9 as the dig version there doesn't print the line,
+ # so we trust that dig +tcp does the right thing.
+ # assert "$output" =~ "\(TCP\)" "server used TCP"
# Set recursion bit is already set if requested so output must not
# contain unexpected warning.
assert "$output" !~ "WARNING: recursion requested but not available"