Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#645 from andyzhangx/run-Disruptive…
Browse files Browse the repository at this point in the history
…-test

test: run slow external tests
  • Loading branch information
andyzhangx authored Apr 9, 2022
2 parents 9663a8b + 1826aab commit b643a0e
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit b643a0e

Please sign in to comment.