Skip to content

Commit 7e584f4

Browse files
author
Mathusan Selvarajah
committed
add instructions on how to run e2e tests
1 parent 959bfe4 commit 7e584f4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ $ csc node get-id --endpoint tcp://127.0.0.1:10000
6666
CSINode
6767
```
6868

69+
## Running Kubernetes End To End tests on the NFS Driver
70+
1) Stand up a local cluster `ALLOW_PRIVILEGED=1 hack/local-up-cluster.sh`
71+
2) Build the nfs driver by running `make`
72+
3) Create NFS Driver Image, where the image tag would be whatever that is required by your YAML deployment files `docker build -t quay.io/k8scsi/nfsplugin:v1.0.0 .`
73+
4) Run E2E Tests using the following command: `go test -v ./cmd/nfsplugin/ -ginkgo.v -ginkgo.progress --kubeconfig=/var/run/kubernetes/admin.kubeconfig -timeout=0`
74+
75+
6976
## Community, discussion, contribution, and support
7077

7178
Learn how to engage with the Kubernetes community on the [community page](http://kubernetes.io/community/).

0 commit comments

Comments
 (0)