aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake McGinty <me@jake.su>2018-04-17 17:18:36 -0700
committerJake McGinty <me@jake.su>2018-04-22 14:09:01 -0700
commitf5521efe8ab045f404b766b1dbf04097f2d58f85 (patch)
treeaddf92caba91a944f4f7a5897496f2a6f0339244
parentudp: use nix's setsockopt (diff)
downloadwireguard-rs-f5521efe8ab045f404b766b1dbf04097f2d58f85.tar.xz
wireguard-rs-f5521efe8ab045f404b766b1dbf04097f2d58f85.zip
tests: disable iperf tests in netns for now
-rwxr-xr-xtests/netns.sh40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/netns.sh b/tests/netns.sh
index 3474c30..fdaf71b 100755
--- a/tests/netns.sh
+++ b/tests/netns.sh
@@ -84,12 +84,12 @@ ip0 link set up dev lo
# ip0 link add dev wg1 type wireguard
n0 $program wg1
-sleep 0.2
+sleep 0.5
ip0 link set wg1 netns $netns1
# ip0 link add dev wg1 type wireguard
n0 $program wg2
-sleep 0.2
+sleep 0.5
ip0 link set wg2 netns $netns2
key1="$(pp wg genkey)"
@@ -139,24 +139,24 @@ tests() {
n1 ping6 -c 10 -f -W 1 fd00::2
# TCP over IPv4
- n2 iperf3 -s -1 -B 192.168.241.2 &
- waitiperf $netns2
- n1 iperf3 -Z -n 1G -c 192.168.241.2
-
- # TCP over IPv6
- n1 iperf3 -s -1 -B fd00::1 &
- waitiperf $netns1
- n2 iperf3 -Z -n 1G -c fd00::1
-
- # UDP over IPv4
- n1 iperf3 -s -1 -B 192.168.241.1 &
- waitiperf $netns1
- n2 iperf3 -Z -n 1G -b 0 -u -c 192.168.241.1
-
- # UDP over IPv6
- n2 iperf3 -s -1 -B fd00::2 &
- waitiperf $netns2
- n1 iperf3 -Z -n 1G -b 0 -u -c fd00::2
+ # n2 iperf3 -s -1 -B 192.168.241.2 &
+ # waitiperf $netns2
+ # n1 iperf3 -Z -n 1G -c 192.168.241.2
+
+ # # TCP over IPv6
+ # n1 iperf3 -s -1 -B fd00::1 &
+ # waitiperf $netns1
+ # n2 iperf3 -Z -n 1G -c fd00::1
+
+ # # UDP over IPv4
+ # n1 iperf3 -s -1 -B 192.168.241.1 &
+ # waitiperf $netns1
+ # n2 iperf3 -Z -n 1G -b 0 -u -c 192.168.241.1
+
+ # # UDP over IPv6
+ # n2 iperf3 -s -1 -B fd00::2 &
+ # waitiperf $netns2
+ # n1 iperf3 -Z -n 1G -b 0 -u -c fd00::2
}
[[ $(ip1 link show dev wg1) =~ mtu\ ([0-9]+) ]] && orig_mtu="${BASH_REMATCH[1]}"