Let IPAM pick any peer we know about to transfer ownership to, when shutting down
This commit is contained in:
1 parent
2bbe6a2ad8
commit
b3cda39b0b
4 files changed
+39
-4
No files matched your search
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#! /bin/bash
|
||||
|
||||
. ./config.sh
|
||||
|
||||
start_suite "Claiming addresses"
|
||||
|
||||
weave_on $HOST1 launch-router
|
||||
weave_on $HOST2 launch-router $HOST1
|
||||
|
||||
start_container $HOST1 --name=c1
|
||||
start_container $HOST2 --name=c2
|
||||
|
||||
# Now reset the routers so they should give their space away, and restart
|
||||
weave_on $HOST1 reset
|
||||
weave_on $HOST1 launch-router $HOST2
|
||||
weave_on $HOST2 reset
|
||||
weave_on $HOST2 launch-router $HOST1
|
||||
|
||||
# And try to start a container
|
||||
assert_raises "timeout 10 cat <( start_container $HOST1 )"
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user