Skip to content

Commit e3410b4

Browse files
authored
Merge pull request #363 from andyzhangx/sanity-test-v4.3
test: upgrade to csi-test v4.3.0
2 parents 0671aaf + bf7fac8 commit e3410b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/sanity/run-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function install_csi_sanity_bin {
3939
mkdir -p $GOPATH/src/github.com/kubernetes-csi
4040
pushd $GOPATH/src/github.com/kubernetes-csi
4141
export GO111MODULE=off
42-
git clone https://github.com/kubernetes-csi/csi-test.git -b v4.2.0
42+
git clone https://github.com/kubernetes-csi/csi-test.git -b v4.3.0
4343
pushd csi-test/cmd/csi-sanity
4444
make install
4545
popd
@@ -82,8 +82,8 @@ CSI_SANITY_BIN=$GOPATH/bin/csi-sanity
8282
if [ -z "$GITHUB_ACTIONS" ]
8383
then
8484
# if not running on github actions, do not use sudo
85-
"$CSI_SANITY_BIN" --ginkgo.v --csi.secrets="$(pwd)/test/sanity/secrets.yaml" --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml" --csi.endpoint="$endpoint" --ginkgo.skip='create a volume with already existing name and different capacity|should fail when requesting to create a volume with already existing name and different capacity|should fail when the requested volume does not exist|should return appropriate capabilities'
85+
"$CSI_SANITY_BIN" --ginkgo.v --csi.secrets="$(pwd)/test/sanity/secrets.yaml" --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml" --csi.endpoint="$endpoint" --ginkgo.skip='create a volume with already existing name and different capacity|should fail when requesting to create a volume with already existing name and different capacity|should fail when the requested volume does not exist'
8686
else
8787
# if running on github actions, use sudo
88-
sudo "$CSI_SANITY_BIN" --ginkgo.v --csi.secrets="$(pwd)/test/sanity/secrets.yaml" --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml" --csi.endpoint="$endpoint" --ginkgo.skip='create a volume with already existing name and different capacity|should fail when requesting to create a volume with already existing name and different capacity|should fail when the requested volume does not exist|should return appropriate capabilities'
88+
sudo "$CSI_SANITY_BIN" --ginkgo.v --csi.secrets="$(pwd)/test/sanity/secrets.yaml" --csi.testvolumeparameters="$(pwd)/test/sanity/params.yaml" --csi.endpoint="$endpoint" --ginkgo.skip='create a volume with already existing name and different capacity|should fail when requesting to create a volume with already existing name and different capacity|should fail when the requested volume does not exist'
8989
fi

0 commit comments

Comments
 (0)