# README
E2E tests
This directory contains codes for end-to-end tests of TopoLVM-Operator. Since the tests make use of kind (Kubernetes IN Docker), this is called "e2e" test.
Setup environment
- Prepare Ubuntu machine.
- Install Docker CE.
- Add yourself to
docker
group. e.g.sudo adduser $USER docker
- Run
make setup
.
How to run tests
if you want to provide your own topolvm image, please edit the cluster.yaml, change the spec.topolvmVersion field
run as follows:
make test
When tests fail, use kubectl
to inspect the Kubernetes cluster.
Cleanup
To stop Kubernetes, run make shutdown-kind
.