Skip to content

Commit

Permalink
test: run external e2e test in serial
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Oct 12, 2023
1 parent 651b1df commit 4c2aec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/external-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ if [ ! -z ${EXTERNAL_E2E_TEST_BLOBFUSE} ]; then
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 -v --fail-fast --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
ginkgo -p -v --progress --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
-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|pod created with an initial fsgroup, volume contents ownership changed via chgrp in first pod, new pod with same fsgroup skips ownership changes to the volume contents|should provision storage with any volume data source|should mount multiple PV pointing to the same storage on the same node' kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-blobfuse.yaml \
--kubeconfig=$KUBECONFIG
Expand All @@ -70,7 +70,7 @@ if [ ! -z ${EXTERNAL_E2E_TEST_BLOBFUSE_v2} ]; then
cp deploy/example/storageclass-blobfuse2.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 -v --fail-fast --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
ginkgo -p -v --progress --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
-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|pod created with an initial fsgroup, volume contents ownership changed via chgrp in first pod, new pod with same fsgroup skips ownership changes to the volume contents|should provision storage with any volume data source|should mount multiple PV pointing to the same storage on the same node' kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-blobfuse.yaml \
--kubeconfig=$KUBECONFIG
Expand All @@ -79,7 +79,7 @@ fi
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 -v --fail-fast --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
ginkgo -p -v --progress --flake-attempts 2 -focus="External.Storage.*$DRIVER.csi.azure.com" \
-skip='\[Disruptive\]|should concurrently access the single volume from pods on different node|pod created with an initial fsgroup, volume contents ownership changed via chgrp in first pod, new pod with same fsgroup skips ownership changes to the volume contents|should provision storage with any volume data source|should mount multiple PV pointing to the same storage on the same node|should access to two volumes with the same volume mode and retain data across pod recreation on different node' kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-nfs.yaml \
--kubeconfig=$KUBECONFIG
Expand Down

0 comments on commit 4c2aec0

Please sign in to comment.