tests

module
v0.0.0-...-3726150 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: Apache-2.0

README

tests

tests is an individul module beside pulsar resources operator

go mod tidy to download modules for tests

Requirements

  • Pulsar Operator installed
  • A pulsar cluster installed without authentication and authorization

Run tests

ginkgo --trace --progress ./operator

Optionally, if you have an external pulsar cluster (e.g. deployed on minikube) and you want to test the operator without deploying it in kubernetes:

  1. Run the code in a terminal
make install
go run .
  1. In another terminal run
# your admin service url
export ADMIN_SERVICE_URL=http://localhost:80
# your pulsar namespace
export NAMESPACE=pulsar
# your pulsar broker name
export BROKER_NAME=pulsar-mini
# your pulsar proxy url
export PROXY_URL=http://localhost:80

ginkgo --trace --progress ./operator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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