You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test code must be conceptually in a different package, otherwise
the "protosanitizer" package depends on the CSI 1.0 package and cannot
be vendored into a client relying on an older version of the spec, not
even when stripping of go test code is enabled - at least "dep" checks
package dependencies before stripping.
The downside of moving the tests is that a manual "go test
./protosanitizer" no longer runs the test. They are still run by "make
test":
$ make test
go test `go list ./... | grep -v ^vendor`
? github.com/kubernetes-csi/csi-lib-utils/protosanitizer [no test files]
ok github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test 0.051s
? github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test/csi03 [no test files]
? github.com/kubernetes-csi/csi-lib-utils/protosanitizer/test/csitest [no test files]
0 commit comments