testing: test invocation of newer plugins with an older libcni

This commit is contained in:
Casey Callendrello
2016-10-14 16:38:32 +02:00
parent 0e09ad29df
commit 8c6f6e0a60
4 changed files with 227 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ var _ = Describe("Invoking the plugin", func() {
}
Expect(debug.WriteDebug(debugFilePath)).To(Succeed())
cniBinPath = filepath.Dir(pathToPlugin)
cniBinPath = filepath.Dir(pluginPaths["noop"])
pluginConfig = `{ "type": "noop", "some-key": "some-value", "cniVersion": "0.2.0" }`
cniConfig = libcni.CNIConfig{Path: []string{cniBinPath}}
netConfig = &libcni.NetworkConfig{