# README
Sanity Tests
Testing the Azure Blob CSI driver using the sanity
package test suite.
Run Integration Tests Locally
Prerequisite
- Make sure
GOPATH
is set
export set GOPATH=$HOME/go
- Set Azure credentials by environment variables
You could get these variables from
/etc/kubernetes/azure.json
on a kubernetes cluster node
# Required environment variables:
export set AZURE_TENANT_ID=
export set AZURE_SUBSCRIPTION_ID=
export set AZURE_CLIENT_ID=
export set AZURE_CLIENT_SECRET=
# Optional environment variables:
# If the the test is not for the public Azure, e.g. Azure China Cloud, then you need to set AZURE_CLOUD_NAME and AZURE_LOCATION.
# For Azure Stack Clound, you need to set AZURE_ENVIRONMENT_FILEPATH for your cloud environment.
# If you have an existing resource group created for the test, then you need to set variable AZURE_RESOURCE_GROUP.
export set AZURE_CLOUD_NAME=
export set AZURE_LOCATION=
export set AZURE_ENVIRONMENT_FILEPATH=
export set AZURE_RESOURCE_GROUP=
Run integration tests
make sanity-test