Update vendor csi spec and csi-test to 1.0.0-rc2
This commit is contained in:
6
vendor/github.com/kubernetes-csi/csi-test/test/co_test.go
generated
vendored
6
vendor/github.com/kubernetes-csi/csi-test/test/co_test.go
generated
vendored
@@ -21,7 +21,7 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
"github.com/container-storage-interface/spec/lib/go/csi/v0"
|
||||
"github.com/container-storage-interface/spec/lib/go/csi"
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/golang/protobuf/proto"
|
||||
mock_driver "github.com/kubernetes-csi/csi-test/driver"
|
||||
@@ -157,7 +157,7 @@ func TestGRPCAttach(t *testing.T) {
|
||||
|
||||
// Setup mock outout
|
||||
out := &csi.ControllerPublishVolumeResponse{
|
||||
PublishInfo: publishVolumeInfo,
|
||||
PublishContext: publishVolumeInfo,
|
||||
}
|
||||
|
||||
// Setup expectation
|
||||
@@ -181,7 +181,7 @@ func TestGRPCAttach(t *testing.T) {
|
||||
t.Errorf("Error: %s", err.Error())
|
||||
}
|
||||
|
||||
info := r.GetPublishInfo()
|
||||
info := r.GetPublishContext()
|
||||
if !reflect.DeepEqual(info, publishVolumeInfo) {
|
||||
t.Errorf("Invalid publish info: %v", info)
|
||||
}
|
||||
|
Reference in New Issue
Block a user