Alvaro Saurin
8a935e3cb2
Launch WeaveDNS with "launch_dns_on"
2015-06-16 15:29:36 +02:00
Alvaro Saurin
8621aa7cbf
Launch WeaveDNS with --debug when DEBUG is set
2015-06-16 14:58:53 +02:00
Matthias Radestock
a2146ca5b0
add tests for launching DNS with various ways of obtaining an IP
...
As a side effect this also tests repopulation on restart, so we can
remove the separate test for that.
2015-06-12 13:50:22 +01:00
Alvaro Saurin
0a803c61ff
Smoke tests
2015-05-28 10:05:22 +02:00
Matthias Radestock
9017888b9c
merge IPAM tests with rest
...
keeping them separate leads to too much duplication
2015-05-18 23:28:35 +01:00
Matthias Radestock
ccd468f80c
drop -debug from launch-dns
...
It wasn't being applied consistently in any case.
2015-05-16 21:06:08 +01:00
Matthias Radestock
4e7ddedf75
extract startup of container with dns
...
There is now just one mention of the aanand/docker-dnsutils image; in
config.sh.
2015-05-16 21:00:27 +01:00
Matthias Radestock
1c1bd817e1
extract startup of simple container
...
There is now just one mention of the gliderlabs/alpine image outside config.sh.
2015-05-16 21:00:07 +01:00
Matthias Radestock
535a6ae199
consistent docker run parameter order
2015-05-16 20:37:16 +01:00
Tom Wilkie
5094e84af3
Use gliderlabs/alpine over ubuntu in attempt to speed up tests.
2015-05-07 17:40:44 +00:00
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
437b9d0ba2
Add tests for resolving names across hosts
...
It's more precise to use dig rather than ping. The stock ubuntu image
doesn't come with dig (in package dnsutils), but luckily Aanand made
an image which is exactly ubuntu+dnsutils.
2015-01-13 16:08:07 +00:00