From 737b0e0504fa6f4ef055e4a40ee3b9347de380d9 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Fri, 8 Apr 2016 17:59:23 +0100 Subject: [PATCH] Two different configs; ensure weave-ipam driver works when named --- test/830_cni_plugin_test.sh | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/test/830_cni_plugin_test.sh b/test/830_cni_plugin_test.sh index 4631d97b..3b2df0e4 100755 --- a/test/830_cni_plugin_test.sh +++ b/test/830_cni_plugin_test.sh @@ -16,12 +16,7 @@ cni_connect() { docker_on $1 run --rm --privileged --net=host --pid=host -i \ -e CNI_VERSION=1 -e CNI_COMMAND=ADD -e CNI_CONTAINERID=c1 \ -e CNI_NETNS=/proc/$pid/ns/net -e CNI_IFNAME=eth0 -e CNI_PATH=/opt/cni/bin \ - weaveworks/plugin:latest $(coverage_args) --cni-net </dev/null -cni_connect $HOST1 c2 >/dev/null +cni_connect $HOST1 c1 >/dev/null </dev/null <