sigs.k8s.io/azuredisk-csi-driver@v1.30.1/test/sanity/README.md (about)

     1  ## Sanity Tests
     2  Testing the Azure Disk CSI driver using the [`sanity`](https://github.com/kubernetes-csi/csi-test/tree/master/pkg/sanity) package test suite.
     3  
     4  ## Run Integration Tests Locally
     5  ### Prerequisite
     6   - make sure `GOPATH` is set
     7  ```
     8  # echo $GOPATH
     9  /root/go
    10  ```
    11   - set following environment variables
    12  ```console
    13  export AZURE_TENANT_ID=
    14  export AZURE_SUBSCRIPTION_ID=
    15  export AZURE_CLIENT_ID=
    16  export AZURE_CLIENT_SECRET=
    17  export AZURE_RESOURCE_GROUP=
    18  export AZURE_LOCATION=
    19  ```
    20  
    21  ### Run sanity tests
    22  ```
    23  make sanity-test
    24  ```