Update vendor csi spec and csi-test to 1.0.0-rc2
This commit is contained in:
24
vendor/github.com/kubernetes-csi/csi-test/hack/e2e.sh
generated
vendored
24
vendor/github.com/kubernetes-csi/csi-test/hack/e2e.sh
generated
vendored
@@ -35,7 +35,26 @@ runTestWithCreds()
|
||||
fi
|
||||
}
|
||||
|
||||
go build -o bin/mock ./mock || exit 1
|
||||
runTestAPI()
|
||||
{
|
||||
CSI_ENDPOINT=$1 ./bin/mock &
|
||||
local pid=$!
|
||||
|
||||
GOCACHE=off go test -v ./hack/_apitest/api_test.go; ret=$?
|
||||
|
||||
if [ $ret -ne 0 ] ; then
|
||||
exit $ret
|
||||
fi
|
||||
|
||||
GOCACHE=off go test -v ./hack/_embedded/embedded_test.go; ret=$?
|
||||
kill -9 $pid
|
||||
|
||||
if [ $ret -ne 0 ] ; then
|
||||
exit $ret
|
||||
fi
|
||||
}
|
||||
|
||||
make
|
||||
|
||||
cd cmd/csi-sanity
|
||||
make clean install || exit 1
|
||||
@@ -47,4 +66,7 @@ rm -f $UDS
|
||||
runTestWithCreds "${UDS}" "${UDS}"
|
||||
rm -f $UDS
|
||||
|
||||
runTestAPI "${UDS}"
|
||||
rm -f $UDS
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user