simplify NXDOMAIN test

- remove premature abstraction
- only do one check
This commit is contained in:
Matthias Radestock committed 2015-05-16 18:22:55 +01:00
1 parent 970af56765
commit ad34a56e56
2 files changed
+1 -14

No files matched your search

+1 -2
View File
@@ -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