Adam Harrison
d0d8144ef9
Factor out test fixture teardown
2015-04-24 12:03:57 +01:00
Matthias Radestock
22c04bfc24
don't use $(exec_on ...)
...
since that will cause the test to exit on failure
2015-04-22 20:09:34 +01:00
Matthias Radestock
eebb674232
simplify dns tests
...
- use 'host' to lookup MX record. It's shorter
- use getent everywhere else for dns lookups, instead of dig; this
tests more of the o/s name resolution machinery and is generally
shorter.
- introduce assert_dns_record helper that performs forward and reverse
- lookup introduce some vars for holding constants, so we don't have
to repeat them
2015-04-22 19:38:04 +01:00
Matthias Radestock
a7c9fd272c
add exec_on helper
...
so we don't repeat the remote docker invocation command (complete with
hard-coded port) over and over again.
2015-04-22 09:25:42 +01:00
Adam Harrison
f3ab25a512
Remove unnecessary -i flag from docker exec invocations.
...
Fixes #579 .
2015-04-20 14:35:18 +01:00
Michael Bridgen
9fd468d743
Use weave remotely in smoke tests instead of via SSH
2015-03-19 10:15:06 +00:00
Matthias Radestock
123e8bbb28
reduce likelihood of IP clashes in tests & examples
...
by using the 10.2 range, which is not one used by docker and also is
less likely than 10.0 to be used by something else.
Fixes #402 .
2015-03-09 20:51:26 +00:00
Michael Bridgen
5c3fe86be7
Include testing non-weave reverse queries in DNS smoke tests
...
Pro-tip: Do not put weaveDNS on the same subnet as the fallback DNS
server.
2015-01-14 17:02:17 +00:00
Michael Bridgen
57b8039678
Smoke test for DNS fallback
2015-01-13 15:51:09 +00:00