Run e2e tests in parallel when possible

This commit is contained in:
Mehran Kholdi 2020-06-20 00:39:08 +04:30
parent ab407f3349
commit 7a4d90a315

View File

@ -7,8 +7,16 @@ curl --location https://dl.k8s.io/v1.18.1/kubernetes-test-linux-amd64.tar.gz | t
ssh-keygen -N "" -f $HOME/.ssh/id_rsa ssh-keygen -N "" -f $HOME/.ssh/id_rsa
cat $HOME/.ssh/id_rsa.pub >>$HOME/.ssh/authorized_keys cat $HOME/.ssh/id_rsa.pub >>$HOME/.ssh/authorized_keys
# Taken from: https://kubernetes.io/blog/2020/01/08/testing-of-csi-drivers/
./ginkgo -p -v \
-focus='External.Storage' \
-skip='\[Feature:|\[Disruptive\]|\[Serial\]' \
./e2e.test \ ./e2e.test \
-ginkgo.v \ -- \
-ginkgo.focus='External.Storage' \ -storage.testdriver=rawfile-driver.yaml
-storage.testdriver=rawfile-driver.yaml \
-report-dir report/ ./ginkgo -v \
-focus='External.Storage.*(\[Feature:|\[Disruptive\]|\[Serial\])' \
./e2e.test \
-- \
-storage.testdriver=rawfile-driver.yaml