diff --git a/test/sanity/params.yaml b/test/sanity/params.yaml new file mode 100644 index 00000000..2f77d5c9 --- /dev/null +++ b/test/sanity/params.yaml @@ -0,0 +1,2 @@ +arrayId: "" # update arrayId here +storagePool: "pool_1" # update storagePool here diff --git a/test/sanity/run.sh b/test/sanity/run.sh index 8f398921..c39d44f8 100644 --- a/test/sanity/run.sh +++ b/test/sanity/run.sh @@ -15,6 +15,7 @@ rm -rf /tmp/csi-mount csi-sanity --ginkgo.v \ - --csi.endpoint=$(pwd)/unix_sock \ + --csi.endpoint=unix_sock \ --csi.secrets=secrets.yaml \ + --csi.testvolumeparameters=params.yaml \ --ginkgo.skip "GetCapacity|ListSnapshots|create a volume with already existing name and different capacity" \ diff --git a/test/sanity/start_driver.sh b/test/sanity/start_driver.sh index 05e5bb00..f619f976 100644 --- a/test/sanity/start_driver.sh +++ b/test/sanity/start_driver.sh @@ -17,6 +17,6 @@ rm -f unix_sock . ../../env.sh -echo ENDPOINT $X_CSI_UNITY_ENDPOINT +echo ENDPOINT $CSI_ENDPOINT echo "Starting the csi-unity driver. You should wait until the node setup is complete before running tests." -../../csi-unity --driver-name=$DRIVER_NAME --driver-config=$DRIVER_CONFIG +../../csi-unity --driver-name=$DRIVER_NAME --driver-config=$DRIVER_CONFIG --driver-secret=$DRIVER_SECRET