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

test that large packets can be transmitted over weave #1121

Merged
merged 1 commit into from
Jul 13, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions test/100_cross_hosts_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ start_container $HOST2 net:$SUBNET_2 --name=c6
C6=$(container_ip $HOST2 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