simplify NXDOMAIN test
- remove premature abstraction - only do one check
This commit is contained in:
1 parent
970af56765
commit
ad34a56e56
2 files changed
+1
-14
No files matched your search
@@ -15,7 +15,6 @@ weave_on $HOST1 run --with-dns $C1/24 -t --name=c1 aanand/docker-dnsutils /bin/s
|
||||
|
||||
assert_dns_record $HOST1 c1 $NAME $C2
|
||||
|
||||
assert_dns_status $HOST1 c1 "MX seetwo.weave.local" NXDOMAIN
|
||||
assert_dns_status $HOST1 c1 "AAAA seetwo.weave.local" NXDOMAIN
|
||||
assert_raises "exec_on $HOST1 c1 dig MX seetwo.weave.local | grep -q \"status: NXDOMAIN\""
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user