Update vendor csi spec and csi-test to 1.0.0-rc2
This commit is contained in:
18
vendor/github.com/kubernetes-csi/csi-test/hack/_apitest/api_test.go
generated
vendored
Normal file
18
vendor/github.com/kubernetes-csi/csi-test/hack/_apitest/api_test.go
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
package apitest
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/kubernetes-csi/csi-test/pkg/sanity"
|
||||
)
|
||||
|
||||
func TestMyDriver(t *testing.T) {
|
||||
config := &sanity.Config{
|
||||
TargetPath: os.TempDir() + "/csi",
|
||||
StagingPath: os.TempDir() + "/csi",
|
||||
Address: "/tmp/e2e-csi-sanity.sock",
|
||||
}
|
||||
|
||||
sanity.Test(t, config)
|
||||
}
|
Reference in New Issue
Block a user