Kafscale E2E Harness
These tests spin up a full cluster (via kind), install the local Helm chart, and hit the console API over a port-forward. They are opt-in because they require Docker/kind/helm on the host and take several minutes.
Prerequisites
- Docker daemon (Colima, Docker Desktop, etc.)
kind, kubectl, and helm binaries on your $PATH
- Internet access to pull the Bitnami
etcd chart (the harness installs a single-node etcd for the operator)
Running
KAFSCALE_E2E=1 go test -tags=e2e ./test/e2e -v
For local developer workflows, prefer the Makefile targets:
make test-consumer-group # embedded etcd + in-memory S3
make test-ops-api # embedded etcd + in-memory S3
make test-multi-segment-durability # embedded etcd + MinIO
make test-produce-consume # MinIO-backed produce/consume suite
make test-full # unit tests + local e2e suites
Optional environment variables:
KAFSCALE_KIND_CLUSTER: reuse an existing kind cluster without creating/deleting one.
The harness installs everything into the kafscale-e2e namespace and removes it after the test (unless you reused a cluster).