Skip to content

test: run slow external tests #645

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

Merged
merged 2 commits into from
Apr 9, 2022
Merged
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
6 changes: 4 additions & 2 deletions test/external-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ mkdir -p /tmp/csi
if [ ! -z ${EXTERNAL_E2E_TEST_BLOBFUSE} ]; then
echo "begin to run blobfuse tests ...."
cp deploy/example/storageclass-blobfuse.yaml /tmp/csi/storageclass.yaml
# achieve close-to-open cache consistency like in NFSv3
sed -i 's/file-cache-timeout-in-seconds=120/file-cache-timeout-in-seconds=0/g' /tmp/csi/storageclass.yaml
ginkgo -p --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com" \
-skip='\[Disruptive\]|\[Slow\]|allow exec of files on the volume|unmount after the subpath directory is deleted' kubernetes/test/bin/e2e.test -- \
-skip='\[Disruptive\]|allow exec of files on the volume|unmount after the subpath directory is deleted|should concurrently access the single volume from pods on different node' kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-blobfuse.yaml \
--kubeconfig=$KUBECONFIG
fi
Expand All @@ -68,7 +70,7 @@ if [ ! -z ${EXTERNAL_E2E_TEST_NFS} ]; then
echo "begin to run NFSv3 tests ...."
cp deploy/example/storageclass-blob-nfs.yaml /tmp/csi/storageclass.yaml
ginkgo -p --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com" \
-skip='\[Disruptive\]|\[Slow\]|pod created with an initial fsgroup, volume contents ownership changed in first pod, new pod with same fsgroup skips ownership changes to the volume contents' kubernetes/test/bin/e2e.test -- \
-skip='\[Disruptive\]|pod created with an initial fsgroup, volume contents ownership changed in first pod, new pod with same fsgroup skips ownership changes to the volume contents' kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-nfs.yaml \
--kubeconfig=$KUBECONFIG
fi