e2e/

directory
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2020 License: Apache-2.0

README

End to End Test

Run E2E tests Locally

Prerequisite

  • Make sure a kubernetes cluster(with version >= 1.13) is set up and kubeconfig is under $HOME/.kube/config
  • Copy /etc/kubernetes/azure.json from agent node to local dev machine where you are going to run e2e tests

How to run E2E tests

# testing against CSI Driver by default
make e2e-test

# Run Windows e2e tests
export TEST_WINDOWS="true"
make e2e-test

# Run specific e2e tests
go test -v -timeout=0 ./test/e2e -ginkgo.noColor -ginkgo.v -ginkgo.focus="deployment"

testing against in-tree volume driver

export AZURE_STORAGE_DRIVER="kubernetes.io/azure-disk"
make e2e-test

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL