Merge pull request #1121 from weaveworks/test_large_packets
test that large packets can be transmitted over weave
This commit is contained in:
commit
4eb6d147b5
1 file changed
+6
@@ -27,4 +27,10 @@ start_container $HOST2 net:$SUBNET_2 --name=c6
|
|||||||
C6=$(container_ip $HOST2 c6)
|
C6=$(container_ip $HOST2 c6)
|
||||||
assert_raises "exec_on $HOST1 c5 $PING $C6"
|
assert_raises "exec_on $HOST1 c5 $PING $C6"
|
||||||
|
|
||||||
|
# check large packets get through. The first attempt typically fails,
|
||||||
|
# since the PMTU hasn't been discovered yet. The 2nd attempt should
|
||||||
|
# succeed.
|
||||||
|
exec_on $HOST1 c1 $PING -s 65000 $C2 2>&1 1>/dev/null || true
|
||||||
|
assert_raises "exec_on $HOST1 c1 $PING -s 65000 $C2"
|
||||||
|
|
||||||
end_suite
|
end_suite
|
||||||
Reference in new issue
Block a user