From caa62fa471c671057af923d90276cd1dccac0804 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 6 Apr 2022 05:44:35 +0000 Subject: [PATCH 1/2] test: run Disruptive external tests test: enable Slow external tests test: fix slow test failure --- test/external-e2e/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/external-e2e/run.sh b/test/external-e2e/run.sh index 084ea924e..9fd93b79e 100644 --- a/test/external-e2e/run.sh +++ b/test/external-e2e/run.sh @@ -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' kubernetes/test/bin/e2e.test -- \ -storage.testdriver=$PROJECT_ROOT/test/external-e2e/testdriver-blobfuse.yaml \ --kubeconfig=$KUBECONFIG fi @@ -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 From 1826aab8b766778b353341bf5b11050c39ebd677 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 9 Apr 2022 03:45:23 +0000 Subject: [PATCH 2/2] test: disable one externel test --- test/external-e2e/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/external-e2e/run.sh b/test/external-e2e/run.sh index 9fd93b79e..dddc3fbd9 100644 --- a/test/external-e2e/run.sh +++ b/test/external-e2e/run.sh @@ -61,7 +61,7 @@ if [ ! -z ${EXTERNAL_E2E_TEST_BLOBFUSE} ]; then # 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\]|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