e2e

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

README

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

  1. Docker daemon (Colima, Docker Desktop, etc.)
  2. kind, kubectl, and helm binaries on your $PATH
  3. 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).

Documentation

Overview

fixes lingering broker processes between test runs

Jump to

Keyboard shortcuts

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