extract startup of simple container
There is now just one mention of the gliderlabs/alpine image outside config.sh.
This commit is contained in:
1 parent
ab244f76f6
commit
1c1bd817e1
13 files changed
+27
-25
No files matched your search
@@ -9,8 +9,8 @@ start_suite "Ping over cross-host weave network with IPAM"
|
||||
weave_on $HOST1 launch -iprange $UNIVERSE
|
||||
weave_on $HOST2 launch -iprange $UNIVERSE $HOST1
|
||||
|
||||
weave_on $HOST1 run -t --name=c1 gliderlabs/alpine /bin/sh
|
||||
weave_on $HOST2 run -t --name=c2 gliderlabs/alpine /bin/sh
|
||||
start_container $HOST1 --name=c1
|
||||
start_container $HOST2 --name=c2
|
||||
C2=$(container_ip $HOST2 c2)
|
||||
assert_raises "exec_on $HOST1 c1 ping -q -c 4 $C2"
|
||||
|
||||
|
||||
Reference in new issue
Block a user