This directory contains the example of how to run tests on multiple kind
clusters at the same time using the same env.Environment
- Create two clusters
- One with prefix cluster-one
- One with prefix cluster-two
- Install A sample helm chart on both clusters
- Run an assessment to check if the chart has successfully been deployed by checking the pod status
- Teardown the Test Environments
These test cases can be executed using the normal go test
command by passing the right arguments
go test -v .
go test -c -o multi-cluster.test .
./multi-cluster.test --v 4