github.com/manishgzp/blob-csi-driver-aks@v0.5.0/test/integration/README.md (about)

     1  ## Integration Test
     2  Integration test verifies the functionality of CSI driver as a standalone server outside Kubernetes. It exercises the lifecycle of the volume by creating, attaching, staging, mounting volumes and the reverse operations.
     3  
     4  ## Run Integration Tests Locally
     5  ### Prerequisite
     6   - make sure `GOPATH` is set and [csc](https://github.com/rexray/gocsi/tree/master/csc) tool is installed under `$GOPATH/bin/csc`
     7  ```
     8  export set GOPATH=/root/go
     9  go get github.com/rexray/gocsi/csc
    10  ```
    11  
    12   - set Azure credentials by environment variables
    13   > you could get these variables from `/etc/kubernetes/azure.json` on a kubernetes cluster node
    14  ```
    15  export set tenantId=
    16  export set subscriptionId=
    17  export set aadClientId=
    18  export set aadClientSecret=
    19  export set resourceGroup=
    20  export set location=
    21  ```
    22  
    23  ### Run integration tests
    24  ```
    25  make test-integration
    26  ```