Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix csi-sanity test scripts #184

Merged
merged 1 commit into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/sanity/params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
arrayId: "" # update arrayId here
storagePool: "pool_1" # update storagePool here
3 changes: 2 additions & 1 deletion test/sanity/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
4 changes: 2 additions & 2 deletions test/sanity/start_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading