Bryan Boreham
f695b3fd17
Smoke-test CNI arp update
2016-05-25 12:05:20 +01:00
Martynas Pumputis
02d9c090ed
Add wait_for_attached
2016-05-12 12:25:59 +01:00
Martynas Pumputis
671ed724d5
Move wait_for_proxy to config.sh
2016-05-12 12:15:20 +01:00
Martynas Pumputis
7c3e937ae8
Fix 320_claim_3_test
2016-05-11 12:18:39 +01:00
Bryan Boreham
f800813031
Test claim as first operation
2016-05-10 15:32:15 +01:00
Bryan Boreham
e49bbe176d
Make clear that we want the same universe throughout the test
2016-05-10 13:32:56 +01:00
Bryan Boreham
2fa576f3c0
Merge pull request #2265 from weaveworks/issues/2232-block-claim
...
Make claim block if the IPAM ring is not established. Fixes #2232
2016-05-09 14:37:37 +01:00
Martynas Pumputis
d698aefbfc
Make Claim to block if the IPAM ring is not established
2016-05-09 12:48:41 +01:00
Bryan Boreham
469d456c8b
Smoke-test for container restart with proxy attach failure
2016-05-09 11:19:19 +01:00
Adam Harrison
1283ba4f61
Merge pull request #2249 from weaveworks/issues/2209-depersist-on-range-change
...
Better deleting of persisted IPAM data
2016-05-05 10:11:22 +01:00
Bryan Boreham
503546d2a9
Return DNS no-error with empty answer if we have a matching name
...
but the query is for a record type we don't support.
2016-05-03 17:33:51 +01:00
Bryan Boreham
f6966548eb
Delete persisted data when IPAM range changes
2016-05-03 13:20:04 +01:00
Bryan Boreham
e96b68f0aa
Don't use persisted data until we are sure it matches
2016-05-03 13:20:04 +01:00
Bryan Boreham
9ce229ba3a
Merge pull request #2202 from weaveworks/issues/1482-update-test320
...
Update test 320 to cope with persistence
2016-04-28 10:21:57 +01:00
Bryan Boreham
0e655a2bbd
Remove plugin-connected containers before end of test, to avoid delaying later cleanup.
...
Also use a shorter sequence to exclude the plugin when removing other containers.
2016-04-26 15:42:35 +01:00
Bryan Boreham
d2450aae1c
Merge pull request #2204 from weaveworks/issues/2193-dns-leak
...
Fixes #2123 : Use ContainerID when restarting a container
2016-04-22 14:36:17 +01:00
Bryan Boreham
192fbe3a53
Update test 320 to cope with persistence
2016-04-21 16:19:59 +01:00
Martynas Pumputis
427b6d2902
Use ContainerID when restarting a container
...
Otherwise, we are risking to leak DNS entries which happens when
ContainerName is passed to `weave reset` and subsequent internal call
to nameserver creates a new entry instead of replacing the old one.
The ContainerID of the new entry is set to ContainerName and in such case
stopping the container will not remove the new entry.
2016-04-21 16:12:02 +01:00
Bryan Boreham
2f5a3f4513
Remove db-prefix now that persistence is in a volume
2016-04-21 14:32:45 +01:00
Adam Harrison
6ad9dac71a
Merge pull request #2165 from weaveworks/issues/2164-less-deleting
...
Store 'checkAlive' flag in IPAM, so we don't delete non-container IDs
2016-04-18 11:49:50 +01:00
Adam Harrison
a921f77258
Merge pull request #2172 from weaveworks/disable-peer-persistence
...
Disable persistence of peer lists
2016-04-18 11:48:46 +01:00
Bryan Boreham
01be916c37
Add test to expose problem deleting non-container IPs
...
and check dead containers are removed
2016-04-18 10:13:09 +01:00
Adam Harrison
c6609bd248
Smoke test --no-restart
2016-04-15 15:04:29 +01:00
Bryan Boreham
4669da6074
Disable persistence of peer lists
2016-04-15 14:49:50 +01:00
Bryan Boreham
02516361c7
Merge pull request #2155 from weaveworks/issues/2065-rationalise-ipam-concepts
...
Rationalise IPAM concepts
2016-04-14 17:33:27 +01:00
Adam Harrison
e355e50c0d
Tests prefer --ipalloc-init
2016-04-14 12:46:03 +01:00
Adam Harrison
a09986baa2
Rename consense -> prime
2016-04-14 12:46:03 +01:00
Bryan Boreham
0eee97b988
Use regular persistence settings in test, since they now survive a restart
2016-04-13 16:08:41 +01:00
Martynas Pumputis
928a693491
Extend version summary in the weave status report
...
The extended version summary includes info about a new available
version in the case the checkpoint is enabled.
2016-04-12 22:32:18 +01:00
Matthias Radestock
d1ca38e106
Merge pull request #2148 from weaveworks/issues/2146-cni-sock
...
Bind-mount the docker socket for CNI plugin
Fixes #2146
2016-04-11 16:03:14 +01:00
Bryan Boreham
15bdf6cd2d
Rework CNI test so it uses the scriptlet
2016-04-11 16:00:49 +01:00
Matthias Radestock
4037c763c2
Merge branch '1.4'
2016-04-11 15:40:32 +01:00
Matthias Radestock
d4fb739981
Merge pull request #2151 from weaveworks/issues/2140-fqdn-trailing-dot
...
Remove trailing dot from FQDN
Fixes #2140
2016-04-11 15:39:48 +01:00
Martynas Pumputis
a4062bd15c
Remove trailing dot from FQDN
...
As it is described in #2140 , the trailing dot might appear
when starting a container via "weave run".
2016-04-11 11:17:36 +01:00
Bryan Boreham
737b0e0504
Two different configs; ensure weave-ipam driver works when named
2016-04-08 17:59:23 +01:00
Bryan Boreham
16e5032528
Merge branch '1.4'
2016-04-08 17:48:33 +01:00
Bryan Boreham
26bd1b5787
Specify /dev/null stdin for netcat, to avoid inconsistency in Docker 1.11
2016-04-08 17:48:08 +01:00
Matthias Radestock
7d27df0907
Merge pull request #2133 from weaveworks/issues/2081-broadcast-dns-overrides
...
Immediately broadcast DNS records that "re-assert a peer's authority"
2016-04-06 14:51:22 +01:00
Bryan Boreham
768e2a31fa
Re-hide output coming from stop, since it's generally uninteresting
2016-04-06 13:54:12 +01:00
Bryan Boreham
487392b99c
Immediately broadcast DNS records that "re-assert a peer's authority"
...
and enable test to check.
2016-04-06 13:35:07 +01:00
Matthias Radestock
11e520e212
Merge pull request #2129 from weaveworks/fix-cov-collection
...
Do not fail during teardown of test suites if $COVERAGE is not set
2016-04-05 22:17:40 +01:00
Matthias Radestock
3e07f03c87
Merge branch '1.4'
2016-04-05 17:26:01 +01:00
Matthias Radestock
28e0b14220
Merge pull request #2128 from weaveworks/issues/2109-skip-empty-json
...
Don't attempt to parse JSON payload if it is 0 bytes long.
Fixes #2109 .
2016-04-05 17:24:37 +01:00
Matthias Radestock
f82ef55c67
Merge branch '1.4'
2016-04-05 17:21:09 +01:00
Matthias Radestock
53ba2f0aff
rename test so it actually gets run
2016-04-05 17:07:07 +01:00
Martynas Pumputis
41a5c6f523
Do not fail if $COVERAGE is not set
...
Also, stop weave in end_suite by using `weave stop` which does not
remove the weave container (#1939 ).
2016-04-05 16:53:01 +01:00
Bryan Boreham
66c92fe075
Don't attempt to parse JSON payload if it is 0 bytes long.
...
Also added a test to trigger this.
2016-04-05 16:47:11 +01:00
Matthias Radestock
718e93bd23
add coverage to plugin
2016-03-30 17:40:32 +01:00
Adam Harrison
051320e73c
Merge branch '1.4'
2016-03-29 11:45:24 +01:00
Matthias Radestock
648632d5ac
add a test for working with --no-dns
2016-03-28 14:07:48 +01:00