End-to-end tests of TopoLVM using kind
This directory contains codes for end-to-end tests of TopoLVM. Since the tests make use of kind (Kubernetes IN Docker), this is called "e2e" test.
- Prepare Ubuntu machine.
- Install Docker CE.
- Add yourself to
sudo adduser $USER docker
How to run tests
KUBECONFIG envvar as follows:
export KUBECONFIG=$(kind get kubeconfig-path)
lvmd as a systemd service as follows:
make test. Repeat it until you get satisfied.
When tests fail, use
kubectl to inspect the Kubernetes cluster.
To stop Kubernetes, run