diff --git a/test/830_cni_plugin_test.sh b/test/830_cni_plugin_test.sh index f33485fe..dd6dc7fd 100755 --- a/test/830_cni_plugin_test.sh +++ b/test/830_cni_plugin_test.sh @@ -16,11 +16,23 @@ run_on $HOST1 sudo mkdir -p /opt/cni/bin weave_on $HOST1 setup-cni weave_on $HOST1 launch +C0=$(docker_on $HOST1 run --net=none --name=c0 -dt $SMALL_IMAGE /bin/sh) C1=$(docker_on $HOST1 run --net=none --privileged --name=c1 -dt $SMALL_IMAGE /bin/sh) C2=$(docker_on $HOST1 run --net=none --name=c2 -dt $SMALL_IMAGE /bin/sh) # Enable unsolicited ARPs so that ping after the address reuse does not time out exec_on $HOST1 c1 sysctl -w net.ipv4.conf.all.arp_accept=1 +# Contrived example to trigger the bug in #2839 +cni_connect $HOST1 c0 <