Skip to content

Commit b643a0e

Browse files
authored
Merge pull request #645 from andyzhangx/run-Disruptive-test
test: run slow external tests
2 parents 9663a8b + 1826aab commit b643a0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/external-e2e/run.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ mkdir -p /tmp/csi
5858
if [ ! -z ${EXTERNAL_E2E_TEST_BLOBFUSE} ]; then
5959
echo "begin to run blobfuse tests ...."
6060
cp deploy/example/storageclass-blobfuse.yaml /tmp/csi/storageclass.yaml
61+
# achieve close-to-open cache consistency like in NFSv3
62+
sed -i 's/file-cache-timeout-in-seconds=120/file-cache-timeout-in-seconds=0/g' /tmp/csi/storageclass.yaml
6163
ginkgo -p --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com" \
62-
-skip='\[Disruptive\]|\[Slow\]|allow exec of files on the volume|unmount after the subpath directory is deleted' kubernetes/test/bin/e2e.test -- \
64+
-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 -- \
6365
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-blobfuse.yaml \
6466
--kubeconfig=$KUBECONFIG
6567
fi
@@ -68,7 +70,7 @@ if [ ! -z ${EXTERNAL_E2E_TEST_NFS} ]; then
6870
echo "begin to run NFSv3 tests ...."
6971
cp deploy/example/storageclass-blob-nfs.yaml /tmp/csi/storageclass.yaml
7072
ginkgo -p --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com" \
71-
-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 -- \
73+
-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 -- \
7274
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-nfs.yaml \
7375
--kubeconfig=$KUBECONFIG
7476
fi

0 commit comments

Comments
 (0)