Clean out weave CNI plugin before tests
This commit is contained in:
1 parent
4926cb6f9a
commit
eef6965590
1 file changed
+1
@@ -274,6 +274,7 @@ start_suite() {
|
||||
PLUGIN_FILTER=$(docker_on $host inspect -f 'grep -v {{printf "%.12s" .Id}}' weaveplugin 2>/dev/null) || PLUGIN_FILTER=cat
|
||||
rm_containers $host $(docker_on $host ps -aq 2>/dev/null | $PLUGIN_FILTER)
|
||||
weave_on $host reset 2>/dev/null
|
||||
run_on $host sudo rm -f /opt/cni/bin/weave-plugin-latest /opt/cni/bin/weave-net /opt/cni/bin/weave-ipam /etc/cni/net.d/10-weave.conf
|
||||
done
|
||||
whitely echo "$@"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user