e2e

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

E2E Testing

E2E test verifies the functionality of EBS CSI driver in the context of Kubernetes. It exercises driver feature e2e including static provisioning, dynamic provisioning, volume scheduling, mount options, etc.

Requirements

  1. AWS credential is configured
  2. AWS CLI v1.16+
  3. Kubectl v1.13+
  4. Docker CLI v18.09+
  5. curl
  6. sed
  7. Golang 1.11+

Running a specific test

  1. Make sure you have a cluster up with ebs csi driver deployed
  2. Current directory is /aws-ebs-csi-driver/tests/e2e
  3. Run 'ginkgo run --focus='should create multiple PV objects, bind to PVCs and attach all to a single pod'

Notes

Some tests marked with [env] require specific environmental variables to be set, if not set these tests will be skipped.

export AWS_AVAILABILITY_ZONES="us-west-2a,us-west-2b"

Replacing us-west-2a,us-west-2b with the AZ(s) where your Kubernetes worker nodes are located.

By default make test-e2e- targets will run 32 tests concurrently, set GINKGO_NODES to change the parallelism.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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