Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Explicitly check for hang on weave launch in test 160
Browse files Browse the repository at this point in the history
  • Loading branch information
bboreham committed Aug 19, 2015
1 parent 99ab0d3 commit 15e8abe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/160_claim_3_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ stop_router_on $HOST1
stop_router_on $HOST2

# Now make host1 attempt to claim from host2, when host2 is stopped
# checking whether host1 will hang trying to talk to host2
weave_on $HOST2 launch-router
# Introduce host3 to remember the IPAM CRDT when we stop host2
weave_on $HOST3 launch-router $HOST2
stop_router_on $HOST2
weave_on $HOST1 launch-router $HOST3
assert_raises "DOCKER_HOST=tcp://$HOST1:$DOCKER_PORT timeout 30 $WEAVE launch-router $HOST3"

end_suite

0 comments on commit 15e8abe

Please sign in to comment.