Paul Bellamy
858356de22
add 'weave connect --replace ...'
2015-05-29 15:44:45 +01:00
Tom Wilkie
0a945a04f3
Add smarter scheduler to decide which tests to run on which shard on circle.
2015-05-29 12:35:43 +00:00
Tom Wilkie
332a1bf58d
Checkin the assert.sh script, so we can expose test run time.
2015-05-29 11:48:49 +00:00
Tom Wilkie
3642dc5514
Add some timeouts to the circle/gce tests.
2015-05-29 11:29:43 +00:00
Paul Bellamy
e3e5934c51
Merge remote-tracking branch 'upstream/0.11'
...
Conflicts:
proxy/common.go
2015-05-28 17:43:30 +01:00
Paul Bellamy
147c7f503c
add curl test for proxy v1.0 api support
2015-05-28 16:39:32 +01:00
Matthias Radestock
ccd7153b9d
refactor: remove excessive escaping
2015-05-28 12:29:58 +01:00
Paul Bellamy
d16395b8b9
weave status should include 'Direct Peers' set with 'weave connect'
2015-05-28 11:49:46 +01:00
Adam Harrison
037b6df385
Merge pull request #761 from inercia/weave-583-2
...
Background updates for names in the Zone database. Fixes #226 .
2015-05-28 10:00:32 +01:00
Alvaro Saurin
0a803c61ff
Smoke tests
2015-05-28 10:05:22 +02:00
Alvaro Saurin
b8d4068a26
Force 8.8.8.8 as the DNS server in VirtualBoxes
2015-05-28 10:05:22 +02: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
e950d37ed2
cosmetic: reduce noise
2015-05-28 06:31:05 +01:00
Paul Bellamy
b9d666d4a5
Merge branch '0.11'
2015-05-27 13:52:13 +01:00
Matthias Radestock
09feb0c53a
Merge pull request #697 from paulbellamy/peer-replacement
...
weave connect/forget take multiple peers
Closes #759 .
2015-05-27 13:39:50 +01:00
Paul Bellamy
cb73b73862
Fix bug of --with-ipam not setting entrypoints
2015-05-27 13:38:28 +01:00
Paul Bellamy
dafe2bbc83
adding basic connect/forget test
...
The test for multiple connect/forget options is not amazing, because we
only have 2 test VMs to connect to each other
2015-05-26 14:37:22 +01:00
Alvaro
21a1cd0469
Revert "Background updates for names in the Zone database"
2015-05-26 12:56:44 +02:00
Alvaro Saurin
ee6bbe7925
Smoke tests
2015-05-26 11:30:40 +02:00
Matthias Radestock
b1af1f752d
refactor: extract a helper
2015-05-23 12:28:43 +01:00
Matthias Radestock
01bc994822
refactor: extract image creation
2015-05-23 12:14:58 +01:00
Matthias Radestock
2b8a1fe177
rename
2015-05-23 11:59:47 +01:00
Matthias Radestock
1c4beb5ef0
improve entrypoint/command selection tests
2015-05-23 11:58:00 +01:00
Matthias Radestock
b42b045c08
cosmetic: vertical alignment
2015-05-23 10:30:45 +01:00
Paul Bellamy
11931f3ea2
[tests] extract gliderlabs/alpine and aanand/docker-dnsutils into var in
...
config.sh
@bboreham made me do it.
2015-05-22 15:52:36 +01:00
Paul Bellamy
cc82213147
add 'weave launch-proxy --with-ipam' flag
2015-05-22 15:52:36 +01:00
Paul Bellamy
73071f2c62
cleanup proxy test helpers
2015-05-22 10:04:09 +01:00
Paul Bellamy
46bdd8c67d
Proxy support for IPAM
...
Pass `-e WEAVE_CIDR=` to your container to use IPAM. If IPAM is not
enabled on the weave router, the container will be booted without weave
networking.
I'm not crazy about adding *another* undocumented weave cli command
(ipam-cidr), but it saves the proxy messing around finding container
IPs.
2015-05-21 15:37:37 +01:00
Paul Bellamy
c63d2e531a
Merge pull request #712 from errordeveloper/vagrantfile-more-cleanup
...
Improve readability of Vagrantfile and cleanup this official image
2015-05-20 16:47:28 +01:00
Paul Bellamy
d24e75f76b
extract vagrantfile shared bits
2015-05-20 15:42:08 +01:00
Paul Bellamy
eeaa6c9e2c
use grep in /sys to verify ethwe is up in tests
...
Closes #707 . `ip link show` seems to "lag" the real state. In tests
checking the physical link state is good enough.
2015-05-20 13:36:36 +01:00
Bryan Boreham
906be31483
Regularise the ping tests across different subnets
2015-05-20 11:08:39 +01:00
Ilya Dmitrichenko
a48777e482
Clean test VMs as well
2015-05-20 10:47:15 +01:00
Bryan Boreham
4ee32cc12d
Extend smoke test for new drop rule
...
Note that we have to wrap the '!' in 'sh -c' to get the negation to work as expected.
2015-05-20 10:45:18 +01:00
Matthias Radestock
7396f61222
move some tests
2015-05-19 21:38:50 +01:00
Paul Bellamy
e6b587ea8d
proxy needs to add weavewait to execs as well
...
Bug came up in a test where we are restarting and doing an exec checking
a network interface right away. weavewait is only added if the container
has a WEAVE_CIDR var set, the same as at container creation.
2015-05-19 17:36:53 +01:00
Bryan Boreham
4d3234aa36
Merge pull request #695 from rade/merge_ipam_tests_with_rest
...
LGTM
2015-05-19 11:25:50 +01:00
Paul Bellamy
1e7c82bb58
use busybox instead of ubuntu for proxy image pulling test
...
busybox is smaller. gliderlabs/alpine is even smaller, but is used by
weaveexec, so we can't remove it.
2015-05-19 10:34:46 +01:00
Paul Bellamy
ca4b8e6f8e
add proxy support for 'docker restart'
2015-05-19 10:34:46 +01:00
Paul Bellamy
96a69d2303
Add dns support for the proxy
...
In the proxy, I swapped the 'flag' library for
'code.google.com/p/getopt', which uses double-dash flags.
proxy lets 'weave attach' do dns registration on container start
proxy needs to set DNSSearch if not specified
2015-05-19 10:34:45 +01:00
Paul Bellamy
5a6a67f632
Add integration test for the proxy, using docker-py client
2015-05-19 10:34:45 +01:00
Paul Bellamy
d8e1d0798e
replace test usage of ifconfig with ip link show
2015-05-19 09:48:12 +01: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
d53ec858a2
Merge pull request #689 from bboreham/671-hide-errors
...
Silence complaints from http_call when at end of 'weave hide'
Fixes #671 .
2015-05-18 15:59:45 +01:00
Bryan Boreham
286c46653c
Add smoke tests for 'weave expose' and 'weave hide' when weave isn't running
2015-05-18 15:43:44 +01:00
Matthias Radestock
fd0282ee05
Merge pull request #686 from bboreham/672-ipam-run-local
...
Fetch an address from IPAM for 'weave --local run'
Fixes #672 .
2015-05-18 14:44:46 +01:00
Bryan Boreham
5cc3036498
Extend smoke test for 'weave run --local' to include IPAM
2015-05-18 14:38:12 +01:00
Matthias Radestock
c08bfd2205
always quote $@
2015-05-18 11:16:12 +01:00
Matthias Radestock
6dd6d9d6f0
one ping to rule them all
2015-05-16 21:53:50 +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