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
@@ -10,8 +10,8 @@ start_suite "Ping over encrypted cross-host weave network"
|
||||
weave_on $HOST1 launch -password notverysecure
|
||||
weave_on $HOST2 launch -password notverysecure $HOST1
|
||||
|
||||
weave_on $HOST2 run $C2/24 -t --name=c2 gliderlabs/alpine /bin/sh
|
||||
weave_on $HOST1 run $C1/24 -t --name=c1 gliderlabs/alpine /bin/sh
|
||||
start_container $HOST1 $C1/24 --name=c1
|
||||
start_container $HOST2 $C2/24 --name=c2
|
||||
assert_raises "exec_on $HOST1 c1 ping -q -c 4 $C2"
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user