From c18ce9d43ff77462c4e1cca95f0eed3d2fd70da0 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 26 Dec 2020 13:29:45 +0000 Subject: [PATCH] test: upgrade sanity-test to v4.0.2 --- test/sanity/run-test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index 32e9e774..8bc9b0fc 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -31,7 +31,7 @@ function install_csi_sanity_bin { mkdir -p $GOPATH/src/github.com/kubernetes-csi pushd $GOPATH/src/github.com/kubernetes-csi export GO111MODULE=off - git clone https://github.com/kubernetes-csi/csi-test.git -b v2.2.0 + git clone https://github.com/kubernetes-csi/csi-test.git -b v4.0.2 pushd csi-test/cmd/csi-sanity make install popd @@ -43,10 +43,11 @@ function provision_nfs_server { apt-get update -y apt-get install -y nfs-common docker run -d --name nfs --privileged -p 2049:2049 -v $(pwd)/nfsshare:/nfsshare -e SHARED_DIRECTORY=/nfsshare itsthenetwork/nfs-server-alpine:latest - sleep 10 } provision_nfs_server +# wait for nfs-server running complete +sleep 10 install_csi_sanity_bin readonly endpoint='unix:///tmp/csi.sock'