Skip to content

Commit

Permalink
Extend smoke-test to include pinging
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Nov 11, 2016
1 parent 3d7b90e commit 959d377
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/840_weave_kube_3_test.sh
Expand Up @@ -44,6 +44,14 @@ wait_for_connections() {

assert_raises wait_for_connections

# Check we can ping between the Weave bridg IPs on each host
HOST1EXPIP=$($SSH $HOST1 "weave expose")
HOST2EXPIP=$($SSH $HOST2 "weave expose")
HOST3EXPIP=$($SSH $HOST3 "weave expose")
assert_raises "run_on $HOST1 $PING $HOST2EXPIP"
assert_raises "run_on $HOST2 $PING $HOST1EXPIP"
assert_raises "run_on $HOST3 $PING $HOST2EXPIP"

# See if we can get some pods running that connect to the network
run_on $HOST1 "kubectl run hello --image=weaveworks/hello-world --replicas=3"

Expand Down

0 comments on commit 959d377

Please sign in to comment.