Marc CARRE
43249a8d39
Change all launch-*/stop-* commands to launch/stop.
...
Given `proxy` & `router` processes have been merged, `launch-proxy`,
`launch-router`, `stop-proxy`, `stop-router` do not make sense any more, and
should just be `launch` and `stop` with the appropriate flags.
2017-05-10 10:25:36 +00:00
Bryan Boreham
98e6571059
Remove 'weave run', 'start' and 'restart'
...
Replace with informative message.
Also fix up tests which were calling these commands.
2017-04-12 12:15:37 +01:00
Marc CARRE
0dff07dc8b
Scripts now source dependencies using relative paths (previously breaking make depending on current directory).
2016-12-13 16:00:37 +00:00
Bryan Boreham
bf040105da
Speed up smoke-tests by reducing timeout on 'docker stop'
2016-05-27 13:15:32 +01:00
Bryan Boreham
cda1084777
Check validity of IP subnets
...
Be more consistent about this - check in the same way whether at startup
or during allocation.
2016-05-26 14:31:17 +00:00
Matthias Radestock
1a11b989e7
simplify test
2015-08-07 14:40:34 +01:00
Tom Wilkie
8b061fd555
Gossip-based DNS embedded in the router.
...
- Nameserver holds a sorted list of (hostname, peer, container id, ip) tuples.
- Entries are gossiped using topology gossip / broadcast - only new/updated entries
are propogated as expected.
- Entries for a given peer are removed when the connection to the peer is lost.
- Entries are tombstoned when containers die. Tombstones are kept for 10mins,
as they do not need to survive partition, only gossip propagation delay.
2015-07-14 16:00:38 +00:00
Michael Bridgen
4ede33468e
Update docs and smoke-tests with new option names
2015-07-07 11:26:09 +01:00
Alfonso Acosta
373d663b5e
Fix integration tests for OSX
2015-07-06 14:48:53 +01:00
Matthias Radestock
910b57731d
remove stray -debug in tests
2015-07-04 03:19:27 +01:00
Adam Harrison
d4c1766532
Fix smoke tests
2015-06-26 11:10:08 +01:00
Matthias Radestock
ebf725d869
add some tests
2015-06-22 11:26:33 +01:00
Matthias Radestock
e51ecd73b3
refactor: extract helper
2015-06-18 19:01:10 +01:00
Matthias Radestock
5479d0a54d
improve test performance - only fetch status once per check
2015-06-18 18:53:06 +01:00
Matthias Radestock
6830b27317
cosmetic: correct some comments, tweak some arg parsing
2015-06-18 18:13:27 +01:00
Matthias Radestock
4399be7ad2
correct comments
2015-06-18 17:55:42 +01:00
Matthias Radestock
42d2a860eb
test more things, more obviously
2015-06-18 17:48:21 +01:00
Matthias Radestock
3ec0200067
cosmetic oops
2015-06-18 16:57:54 +01:00
Matthias Radestock
d1e4a8ec8a
cosmetic: vertical alignment and consistency for better readability
2015-06-18 16:26:16 +01:00
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
Bryan Boreham
a89b549c40
Change command-line syntax to net: prefix instead of --subnet
2015-06-10 17:28:06 +01:00
Bryan Boreham
7d881a0f0c
Check that weave ps returns exactly the CIDRs we are looking for, and comment assumption
2015-06-10 17:27:07 +01:00
Bryan Boreham
487bd2eaf7
Use zero-cidr-args form of 'weave detach' to test #862
2015-06-10 17:24:36 +01:00
Bryan Boreham
c301e6a380
Expand test to use IPAM and check addresses are freed
2015-06-10 17:24:36 +01:00
Matthias Radestock
ccd7153b9d
refactor: remove excessive escaping
2015-05-28 12:29:58 +01:00
Alvaro Saurin
40d7b2a87d
Dump the zone database status on "weave status"
...
Fix the smoke test by updating the regexps used for parsing "weave status" output
2015-05-28 09:12:53 +02:00
Matthias Radestock
c08bfd2205
always quote $@
2015-05-18 11:16:12 +01:00
Matthias Radestock
8261c7f782
extract hostname as a constant
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
ab244f76f6
consistency
2015-05-16 20:37:16 +01:00
Matthias Radestock
bb8a745431
cosmetic: helper functions come first
2015-05-16 19:05:19 +01:00
Matthias Radestock
352e31c88b
remove all the weave_on hacks
...
that existed because it was echoing a message to stdout, which it no
longer does.
As a result there is now no mention of the docker tcp host/port
outside config.sh.
2015-05-16 19:00:35 +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
4ebbdabfa1
never, ever use 10.0 for anything
...
it has a high probability of conflicting
2015-04-04 22:00:06 +01:00
Adam Harrison
aa88dfca11
Tests use distinct subnets
2015-03-31 12:09:22 +01:00
Adam Harrison
dc49f78588
Expose and hide take multiple addresses
2015-03-31 11:48:51 +01:00
Adam Harrison
94823187ca
Fix function comment
2015-03-30 18:03:20 +01:00
Adam Harrison
3026b5d291
Test tidyup
2015-03-30 15:54:54 +01:00
Adam Harrison
37e6647b0b
Implement integration tests
2015-03-30 12:58:20 +01:00